How To Add Double Dash To WordPress Posts
May 27th, 2007 by Angsuman ChakrabortyWordPress 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: --
Tags: Browser, How To, Pro Blogging, Programming, Tech Note, Web, Web 2.0, Web Services, WordPress | | RSS 2.0 | Trackback this Article | Email this Article










































Add to Technorati Favorites