• This has been an issue on my site for years. Drives me up the wall and I can’t figure it out. The title of the following page has a “dash” in the middle of it. When the post is displayed, though, it looks like an underscore.

    http://www.pmkelly.com/2010/08/facebook-share-button-count/

    That same kind of “dash”, however, looks fine in the title for this other post:

    http://www.pmkelly.com/2010/07/wordpress-to-facebook/

    Does anyone have any clue what is going on here? If I copy/paste from these displayed titles into another window, one looks longer than the other. But they’re the same character inside the WordPress editor.

    Thoughts? Ideas? Clues?

    Totally stumped.

Viewing 5 replies - 1 through 5 (of 5 total)
  • By any chance, are you writing your posts in something else first and then copying & pasting into the WordPress editor?

    Thread Starter pmkelly

    (@pmkelly)

    No, everything was typed directly into the WordPress editor.

    Looks like the dash has been typed into the title. It is NOT an underscore but it looks like that because of your font.

    Is it the only post with the problem?

    As a test, can you:
    – edit that page and see if the dash can be removed?
    – revert to a default WordPress theme and see if it is still there?

    This might provide a clue: http://markjaquith.wordpress.com/2012/06/25/how-wordpress-handles-dashes-and-hyphens/

    Apparently, if you type a dash with spaces around it, WordPress turns it into an en-dash? That’s news to me, but then typography isn’t exactly my focus.

    Thread Starter pmkelly

    (@pmkelly)

    OK, this feedback has been useful. It appears that both of these issues (font and dash) are at play. As a quick experiment, if I delete the spaces on either side of the dash in the title, it then appears correctly. When I put spaces around it, apparently something changes and the font then displays it “low”. Will have to explore the issue more later.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML awkwardness with dash in page title’ is closed to new replies.