Project

General

Profile

Actions

Defect #86

closed

HTML comments not rendered properly

Added by Saji Hameed over 16 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
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.

Actions #1

Updated by Ryan Duryea about 16 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.

Actions #2

Updated by John Goerzen about 16 years ago

See Patch #754

Actions #3

Updated by Jean-Philippe Lang about 16 years ago

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

Fixed in r1216.

Actions

Also available in: Atom PDF