WordPress is re-writing my code

  • Unknown's avatar

    I start with this:

    <span style="color:white;"><!-- 0000 font color white in box 0000 -->
    a few paragraphs of text
    </span>

    and WordPress rewrites the code to this:

    <span style="color:white;"><span style="color:white;"><!-- 00000000 font color white in box 00000 --></span></span>

    So the span gets closed immediately and the desired font color gets removed. I don’t want it removed.

    Are the comments causing a problem? Can I not put comments in the HTML? FYI: the zeros inside the comments are for easy visibility when I’m looking at the code.

    (this is on a .com site I’m working on but not one of my personal blogs)

    The blog I need help with is: (visible only to logged in users)

  • The topic ‘WordPress is re-writing my code’ is closed to new replies.