Page 1 of 1

html comments in notes?

Posted: Tue Apr 28, 2015 8:29 am
by Swingerzetta
I have a note that's meant to be filled out by other players, and I was hoping to add an html comment so that even people who don't know how to read html will be able to add to it in the right place. I was planning on using !-- comments to mark the spot. However, the parser erases those types of comments. Is there a way to add such things that the parser will accept?

Re: html comments in notes?

Posted: Tue Apr 28, 2015 10:33 am
by EchoMan
We are rather restrictive with tags for a good reason.

You could hide it with css.

Code: Select all

.noshow {
  display: none;
}

<div class="noshow"> Coment goes here </div>

Re: html comments in notes?

Posted: Tue Apr 28, 2015 8:57 pm
by Swingerzetta
I'm sure the reason is good. I have no complaints about the restrictiveness, just questions, and now answers. Thanks, EchoMan! That's a good solution.