• I am using single quote chars () as apostrophes (i need them as the web I manage is in catalan language) and I seems to work perfect in posts. The problem starts when I write something like “Malson, de l’Araceli” as a the title attribute of a link. When I save the post and it gets show in the frontend, \’\ becomes \”\ and the title gets truncated.

    So, what should be

    Is saved correctly but is finally shown as

    when it passes through the template
    Ugly!

    This problem seems to affect only title attributes in href links. All other apostrophes in the post get shown as ’

    Any ideas?

Viewing 1 replies (of 1 total)
  • Thread Starter juanlopez4691

    (@juanlopez4691)

    Sorry, I could not edit and correct errors in my previous post.

    I am using single quote chars ' as apostrophes (i need them as the web I manage is in catalan language) and I seems to work perfect in posts. The problem starts when I write something like “Malson, de l’Araceli” as a the title attribute of a link. When I save the post and it gets show in the frontend, ' becomes " and the title attribute gets truncated.

    So, what should be
    <a href="whatever-url" title="Malson, de l'Araceli">...

    Is saved correctly but is finally shown as
    <a href="whatever-url" title="Malson, de l"Araceli">...
    when it passes through the template
    Ugly!

    This problem seems to affect only title attributes in href links. All other apostrophes in the post get shown as

    Any ideas?

Viewing 1 replies (of 1 total)
  • The topic ‘Single quote char changes to double quote’ is closed to new replies.