WordPress.org

Ready to get started?Download WordPress

Forums

Stop WordPress From Converting Punctuation ? (5 posts)

  1. David Frank
    Member
    Posted 5 years ago #

    Hi everyone,

    As a longtime wordpress user (around the 1.2 to 1.5 era), I have notice since ver2.0, wordpress has been trying to convert more and more Punctuations to its liking.

    famous examples before 2.8 includes:

    apostrophe mark ' => ‘
    double quotation mark " => “
    double dashes -- => —

    things got worse for title as all apostrophes are converted to ‘ , and all quotation marks are converted to ” . So they're never closed!

    With the new 2.8, even the single dash, or "hyphen-minus" as some would call, are converted into "en dash". While they look exactly the same under certain font (including monospace, which this forum use), converting a Halfwidth character into a Fullwidth alternative without users' consent seems to be a bad idea.

    this two characters are different, compare them in a notepad (with Arial font etc.)

    -

    While I very much appreciate WP doing the dirty job for me, there are times, or most of the time, I really want to stop wordpress from working so hard.

    So comes the questions:

    Is there a simple wordpress hook that I can remove to disable these sorts of conversion ?
    Or do I have to re-filter everything to achieve what I desired ?
    Or is there an option I didn't notice for two years ?

    ---

    PS: I know out-in-the-wild punctuation lovers will disagree with me on this, but let's talk user freedom for once. Even panda doesn't eat, shoot and leave, right ? ;-)

  2. David Frank
    Member
    Posted 5 years ago #

    Ok, am I the only one who find this feature annoying ?

  3. Rafa Poveda
    Member
    Posted 5 years ago #

    No, you're not the only one.

    Have you posted it in trac?

  4. Trevor Powell
    Member
    Posted 5 years ago #

    I use a plugin called "wpuntexturize" to undo those.

    http://coffee2code.com/wp-plugins/wpuntexturize/

  5. David Frank
    Member
    Posted 5 years ago #

    @trevorpowell
    i think its faq states very clear it could only restore quotations.

    @bi0xid
    i should have, but feel i should ask before submitting a ticket.

Topic Closed

This topic has been closed to new replies.

About this Topic