Forums

WP messing up Markup (4 posts)

  1. a_johnson
    Member
    Posted 2 years ago #

    I'm getting something strange that is destroying pages.

    I turned off the editor, erased then put back the page, but the page still serves garbage I didn't put there.

    What I write:

    <a name="ab"><h3>About</h3></a>

    What I get when I view source:

    <a name="ab"><br />
    <h3>About</h3>
    <p></a><br />

    Can anyone offer any suggestions as to what is going on?

  2. stvwlf
    Member
    Posted 2 years ago #

    The WordPress editor does auto-formatting of certain tags, to assist novice bloggers. Unfortunately it not infrequently steps on the toes of more sophisticated users.

    You can try turning auto-format off on that one post. There are a few ways to accomplish that. I use this plugin.
    http://wordpress.org/extend/plugins/wp-unformatted/
    It does work in current WP versions though it doesn't say that on the plugin page. You must read the instructions as there is an action you have to take on each post on which you want auto-format turned off.

    It doesn't always resolve every such issue but it does resolve many.

  3. a_johnson
    Member
    Posted 2 years ago #

    So even though the editor is disabled, it still screws up the markup? Great. One more reason to hate Tiny-mce.

    Thank you for the help.

  4. a_johnson
    Member
    Posted 2 years ago #

    Something good must have happened, the errors went from 200 to 47.

    Sponge 1 is the hot ticket then.

    Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic