Defect #86
closed
HTML comments not rendered properly
Added by Saji Hameed over 18 years ago.
Updated over 14 years ago.
Description
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.
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:
http://redhanded.hobix.com/inspect/superredclothAsAChild.html
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.
- Status changed from New to Closed
- Resolution set to Fixed
Also available in: Atom
PDF