Support » Fixing WordPress » "" doesn't work in html view on page

  • I’m working on content in a static page in HTML view.
    I have text and an <a href> code at the end of the content within the <div> on the page.

    The text sections rem out with <!-- -->, no problem; the <a href> stuff will not. It screws up the page and allows the sidebar to fall inline under the content section.

    Can someone please tell me why <!-- --> will not rem out the <a href> stuff in the page content?


    [Please post code snippets between backticks or use the code button.]

Viewing 4 replies - 1 through 4 (of 4 total)
  • It seems to strip out the --> and replace it with & #8211 ; (deliberately broken up)

    Well, that’s a new one on me.
    Thanks, richard
    I wonder why it does it when trying to rem out the a href code and not the text blocks?
    Do you know any way to fix it?

    I only noticed because I pasted it into a post out of curiosity and then viewed source. It obviously sees the – – > as dangerous, presumably as it can be used in php.

    Anyone else out there got any bright ideas on how to solve this problem of being able to “rem out” code in HTML view of a page?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘"" doesn't work in html view on page’ is closed to new replies.