How To Add Double Dash To WordPress Posts
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: --
Filed under Browser, How To, Pro Blogging, Programming, Tech Note, Web, Web 2.0, Web Services, WordPress |
|
RSS 2.0 |
Trackback this Article
|
Email this Article
You may also like to read |


Add to Technorati Favorites

































