How to Use a Double Dash / Hyphen in Wordpress
by admin on Feb.02, 2010, under Web Development, Wordpress
Wordpress is converting two dashes, called double dash, (“–”) into a en dash (“–”) automatically. It’s possible to hack the formatting.php to prevent this, but this is much more easy:
Simply use the html code -- …this is the HTML escape sequence (twice) for a dash or hyphen or minus sign and creates two dashes (double dash) like intended.
No related posts.
