Forums

[resolved] Converting quotations to HTML special characters? (2 posts)

  1. WildBil2Me
    Member
    Posted 2 years ago #

    Since upgrading to WordPress 2.1 I've noticed that Quotation marks and similar characters that are part of the post content are being transformed into special characters. What I mean is this... look at a page's source and rather than seeing something like "it's" you'll see "it& ####s" instead.

    While I know this is something that should be occuring in post titles I'm not used to seeing it in the entry text - should I? I'm not using the WYSIWYG editor.

  2. markjaquith
    Moderator
    Posted 2 years ago #

    This has been happening for as long as I've been involved with WordPress.

    To deactivate, put a functions.php file in your theme directory that contains:

    <?php
    remove_filter('the_content', 'wptexturize');
    ?>

  3. WildBil2Me
    Member
    Posted 2 years ago #

    hey thanks for the heads up... what's funny is that my installation didn't start doing it until after I updated to to 2.1.

    If I go back to any older posts they are formatted the way I'd expect.

Topic Closed

This topic has been closed to new replies.

About this Topic