Support » Fixing WordPress » Smart quotes in a page title don’t work if it ends in a tag

  • Resolved mikeywil

    (@mikeywil)


    If I have this content in a page title:
    "A title with <em>italics</em> and quotes"
    the wptexturize function (I think) produces smart quotes correctly.

    However, if I have this content in a page title:
    "A title with quotes and <em>italics</em>"
    the first double quote is correctly converted to an opening double quote, but the last double quote is incorrectly converted to opening double quote (i.e. a 66 and not a 99).

    It seems that if the title ends with a ‘>’ the smart quotes function is not working. Can anyone replicate this – is it a bug?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Smart quotes in a page title don’t work if it ends in a tag’ is closed to new replies.