Edgewall Software

Changes between Version 9 and Version 10 of WikiHtml


Ignore:
Timestamp:
Sep 5, 2008, 11:11:03 AM (16 years ago)
Author:
Remy Blank
Comment:

Added a usage example for the htmlcomment processor

Legend:

Unmodified
Added
Removed
Modified
  • WikiHtml

    v9 v10  
    5050
    5151
     52== HTML comments ==
     53HTML comments are stripped from the output of the `html` processor. To add an HTML comment to a wiki page, use the `htmlcomment` processor (available since 0.12). For example, the following code block:
     54{{{
     55{{{
     56#!htmlcomment
     57This block is translated to an HTML comment.
     58It can contain <tags> and &entities; that will not be escaped in the output.
     59}}}
     60}}}
     61results in the following block in the HTML output:
     62{{{
     63<!--
     64This block is translated to an HTML comment.
     65It can contain <tags> and &entities; that will not be escaped in the output.
     66-->
     67}}}
     68Please note that the character sequence "--" is not allowed in HTML comments, and will generate a rendering error.
     69
     70
    5271== More Information ==
    5372