Curly Quotes

  • Author
    Posts
  • #6272

    neoarch
    Member

    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?

    #6394

    wank
    Member

    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.

    #6542

    neoarch
    Member

    thanks, wank.

    #6830

    veltis
    Member

    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!

    #6831

    drmike
    Member

    Change the & mark into a &

    That will give you &quot

    #6832

    veltis
    Member

    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?

    #6833

    drmike
    Member

    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.

    #6837

    veltis
    Member

    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>>

    #6838

    veltis
    Member

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

    #6839

    veltis
    Member

    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.