HTML Macro
This is a XWiki macro, bundled with all the XWiki products by default.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.
Macro developed by the XWiki Development Team.
This macro cannot currently be downloaded separately.
HTML Macro
Allows inserting HTML or XHTML in wiki pages.Usage
{{html wiki="true"|"false" clean="true"|"false"}}...{{/html}}Parameters definition
| Name | Optional | Allowed values | Default value | Description |
|---|---|---|---|---|
| wiki | yes | true/false | false | Indicate if the wiki syntax (including other macros) inside the macro is evaluated or not. |
| clean | yes | true/false | true | Indicate if the user input must be converted to valid XHTML or not. |
Examples
Interpreted wiki syntax
{{html wiki="true"}}
<table>
<tr>
<td>
* listitem
</td>
</tr>
</table>
{{/html}}Result
|
Escaped wiki syntax
{{html}}
**some escaped text**
{{/html}}Result
**some escaped text**