| | 52 | == HTML comments == |
| | 53 | HTML 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 |
| | 57 | This block is translated to an HTML comment. |
| | 58 | It can contain <tags> and &entities; that will not be escaped in the output. |
| | 59 | }}} |
| | 60 | }}} |
| | 61 | results in the following block in the HTML output: |
| | 62 | {{{ |
| | 63 | <!-- |
| | 64 | This block is translated to an HTML comment. |
| | 65 | It can contain <tags> and &entities; that will not be escaped in the output. |
| | 66 | --> |
| | 67 | }}} |
| | 68 | Please note that the character sequence "--" is not allowed in HTML comments, and will generate a rendering error. |
| | 69 | |
| | 70 | |