Forums

[resolved] Auto <p> trouble after WP 2.1 upgrade (5 posts)

  1. DMyers
    Member
    Posted 2 years ago #

    Hello,

    Everytime I post or edit an entry after upgrading to WP 2.1, it adds <p> tag in the middle of the div for the screenshot. Code I enter.

    <div class="ImageManipulation"><img src="http://i161.photobucket.com/albums/t228/realmofscience/biology/evolutionofman-1.png" alt="The Evolution of Man" /></div>

    Code that is being displayed that ruins my HTML validness.

    <div class="ImageManipulation"><p><img src="http://i161.photobucket.com/albums/t228/realmofscience/biology/evolutionofman-1.png" alt="The Evolution of Man" /></div>

    This suddenly happened to all my entries after the update. Options -> Writing -> "WordPress should correct invalidly nested XHTML automatically" is unchecked.

    I did perform a search, although no thread dealt with it in WP 2.1 and the solution to most peoples issues seemed to be to do the above step.

    I am rather experienced in HTML and am not using the WYSIWYG, so is there a way to completely remove the auto HTML addition(s) to wordpress posts?

    Thank you for your time. Have a nice day.

  2. Ajay
    Member
    Posted 2 years ago #

    I'm facing the same problem as you and this is irrespective of the Correct XHTML option above.

    I just got fedup and converted all the div to p

  3. incertus
    Member
    Posted 2 years ago #

  4. Otto42
    Moderator
    Posted 2 years ago #

    I am rather experienced in HTML and am not using the WYSIWYG, so is there a way to completely remove the auto HTML addition(s) to wordpress posts?

    http://ottodestruct.com/wpstuff/disableautop.zip

    Use this plugin at your own risk. It won't do anything permanent (just deactivate it and it goes back to normal), but it may make your blog look really ugly really fast.

  5. DMyers
    Member
    Posted 2 years ago #

    The last part of this post: http://wordpress.org/support/topic/102799?replies=2 solved my problems, as incertus suggested. Just posting confirmation to aid others searching for a solution as well.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.