Can’t comment out
-
Here’s a sample page:
https://www.richardsorensen.com/teknikor/?page_id=40It’s not meant to be pretty, and it’s not my site (I can’t change the style.css file, for instance); I’m just dumping content into it by using the Page Editor, HTML tab.
As you’ll see, there are three (visible) paragraphs. The first is normal, with some links. The second is surrounded by < code > tags, and the links are correctly commented out (I’m actually not sure if that’s right or not; shouldn’t <! — … — > be showing up in a
<code>
block?). In the third paragraph, I’ve commented out the links — and lost all of the paragraphs after it (AND the left-hand menu, and the footer formatting). View source to see what I mean — and see https://www.richardsorensen.com/teknikor/?page_id=2 to see what the footer should look like.I suspect the issue is that for some reason, the HTML tab isn’t behaving, and is substituting
–
; for the — that precedes the end of the comment. In desperation, I’ve tried using-->
instead, but that doesn’t seem to work anywhere, let alone in WP.So: going a little nuts! Yes, I could just cut the links and paste them back in when I need them, but it will save time to keep them there — and at this point it’s a matter of stubbornness — it SHOULD work!
Any help MUCH appreciated!
- The topic ‘Can’t comment out’ is closed to new replies.