Curly Quotes

  • Unknown's avatar

    Why is it that wordpress converts standard quotation marks into curly quotes? This causes problems when one searches on engines like Technorati. I wrote a post yesterday dealing with an author named Catherine O’Sullivan. I searched that name in technorati and found nothing. I then copied the name directly from my blog to the technorati search field and found exactly what I was looking for. The difference was wordpress had converted my regular quotes to curly “smart” quotes. Can I stop it from doing that?

  • Unknown's avatar

    Posts are run through a filter which converts the quotes and there’s no way of disabling that, so I suggest either a) editing the post and replacing the smart quotes with " or b) using single quotes instead.

  • Unknown's avatar
  • Unknown's avatar

    I have been trying to add a bit of code on my blog for people to copy, but it the curly quotes mess it up. Can’t use " because it’s html, and then of course WordPress simply displays the html. Help!

  • Unknown's avatar

    Change the & mark into a &

    That will give you &quot

  • Unknown's avatar

    Sorry, I just started a new thread because I thought this one was dead and gone and no one was looking at it anymore… tried what you suggested, but that doesn’t seem to work either, I end up with <a href=&quot;http bla bla bla, which doesn’t work when re-pasted into html… Frustrating, no?

  • Unknown's avatar

    Do me a favor. Put what code you’re trying to post into a text file and upload it to your blog. We may be misunderstanding some thing here on what you’re trying to do.

  • Unknown's avatar

    Hello again, I did what you suggested in the other thread and put this in HTML:

    <a href=&quot;http://www.eat.fi&quot;>this link</a>

    I got:

    <a href=”http://www.eat.fi”>this link</a>

    Close, but still curly quotes. Is " not the right term?

    I also tried uploading a text file to my blog as you asked, but it wouldn’t let me because the file “did not meet security guidelines”… <<sighh>>

  • Unknown's avatar

    Those “less than” marks above were & lt; before I posted, even within backticks. Minus the space.

  • Unknown's avatar

    Found a solution:

    http://codex.wordpress.org/Writing_Code_in_Your_Posts

    There’s something called a <pre> tag. It’s not pretty, but it works.

  • The topic ‘Curly Quotes’ is closed to new replies.