How to Use a Double Dash / Hyphen in WordPress

by 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.

Incoming search terms:

:, , ,

1 Comment for this entry

1 Trackback or Pingback for this entry

Leave a Reply

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!