Support » Fixing WordPress » HTML in page-editor is changed on site

  • Hi,

    I’m not using the visual editor but the HTML.
    However, it seems like WordPress, when showing the page to a visitor, does not use my (perfect) HTML, but sort of sanitizes it (read: destroys it, adds empty p-tags, so on…)

    The code I’m working with:

    <a href="niels"><div class="c3">
    <p class="job-title">Graphics-guy</p>

    … and it turns into

    <a href="niels">
    <div class="c3">
    <p class="job-title">Graphics-guy</p>
    </a><p><a href="niels"></a></p>

    Is there any way I can disable the change of my code, so WordPress is actually outputting the code I typed?

  • The topic ‘HTML in page-editor is changed on site’ is closed to new replies.