Defect #86

HTML comments not rendered properly

Added by Saji Hameed about 14 years ago. Updated about 10 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Resolution:Fixed Affected version:

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.

History

#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:
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.

#2 Updated by John Goerzen over 13 years ago

See Patch #754

#3 Updated by Jean-Philippe Lang over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Fixed

Fixed in r1216.

Also available in: Atom PDF