WordPress.org

Ready to get started?Download WordPress

Forums

Single dash converted to double dash (2 posts)

  1. whipd09
    Member
    Posted 3 years ago #

    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.

  2. whipd09
    Member
    Posted 3 years ago #

    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?

    Cheers.

Topic Closed

This topic has been closed to new replies.

About this Topic