Support » Fixing WordPress » Single dash converted to double dash

  • As the title says, if a single dash is used with a space between each side eg. ‘Die Hard – Action Film’ is written in to a WordPress post, once published it comes out as ‘Die Hard — Action Film’. If no spaces are used around the dash it works, but obviously this isn’t desired.

    Is there any way of disabling this?

    When I try to google the issue all I can find is a similar problem where ‘–‘ is converted to an em dash.

Viewing 1 replies (of 1 total)
  • I’ve just noticed this isn’t a problem with a default WordPress installation so I’m assuming it’s a bit of code in my functions.php

    Has anyone had a problem like this and could help me save time in tracking down what I’ve done?


Viewing 1 replies (of 1 total)
  • The topic ‘Single dash converted to double dash’ is closed to new replies.