HTML comments not rendered properly
Textile allows html tags to be input. However the textile implementation in RedMine does not render html comment tags
properly. For instance
<!-- this is a comment -->
is rendered literally with the angle brackets and the text within the tag is
rendered as deleted text.
#1 Updated by Ryan Duryea over 13 years ago
Just FYI, this behavior turns out to be a problem with RedCloth, the library used to turn Textile into HTML. RedCloth doesn't seem to be actively developed anymore and has a number of issues, some of which are listed in the comments here:
I looked at the output from SuperRedCloth (the successor to RedCloth) and the result is:
<p><!-- this is a comment --></p>which is better, but still not perfect.