How To Add Double Dash To WordPress Posts

By Angsuman Chakraborty, Gaea News Network
Sunday, May 27, 2007

WordPress has the nasty habit, thanks to numerous filters, of converting two consecutive - to different ascii characters. This causes big problem for code fragments where people often tend to cut and paste the displayed code from browsers.

Here is how you can display two consecutive dash (minus sign) in WordPress posts and pages, like --, without any problem:
Use - instead of directly writing a -. So two successive dashes should be written as: --

Discussion
September 7, 2008: 9:09 am

[...] Come risolvere questo problema? Facendo delle ricerche su internet ho trovato diversi consigli, come ad esempio, usare i tag come potete leggere qui, oppure digitare il codice del carattere "-" al posto del carattere "-" ripetendolo due volte, in questo modo "--" come consigliato qui. [...]

YOUR VIEW POINT
NAME : (REQUIRED)
MAIL : (REQUIRED)
will not be displayed
WEBSITE : (OPTIONAL)
YOUR
COMMENT :