Description: HTMLcomment provides an input format filter that allows HTML comments, i.e. <!-- ... -->, and an additional filter that allows hidden comment, i.e. [!-- ... --].
Example of an HTML comment
<!-- This will be in the HTML, but not displayed. -->
Example of a private comment
[!-- This will not be in the HTML, and not displayed. --]
An HTML comment is a text surrounded with <!-- and -->. If you put a such comment in a text area, you expect it to be in the HTML code, but not rendered on the screen. Unfortunately, Drupal converts < and > to their HTML entities, resulting in the display of the comment. This module overcome this problem.
This module is also a solution on #222926: htmlcorrector filter escapes HTML comments and #348514: Node body does not handle <!--break--> properly.
In addition, this module also provides a filter that removes any text surrounded with [!-- and --]. The purpose is to allow private comments in text areas.
HTMLcomment is developed by Thomas Barregren of NodeOne.
Related: Comment, Filter, Module, Comments, surrounded, Private, displayed, ltbreakgt, handle, problemthis, Solution, properlyin, htmlcorrector, escapes, purpose, Thomas
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 10.0 KB