Project

General

Profile

Actions

Defect #86

closed

HTML comments not rendered properly

Defect #86: HTML comments not rendered properly

Added by Saji Hameed over 19 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
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

is rendered literally with the angle brackets and the text within the tag is
rendered as deleted text.

Updated by Ryan Duryea almost 19 years ago Actions #1

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.

Updated by John Goerzen over 18 years ago Actions #2

See Patch #754

Updated by Jean-Philippe Lang over 18 years ago Actions #3

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

Fixed in r1216.

Actions

Also available in: PDF Atom