HTML Macro

The HTML macro allows you to insert HTML and XHTML content in wiki pages.

Usage

{{html wiki="<true|false>" clean="<true|false>"}}
// HTML content
{{/html}}

Parameters

NameOptionalAllowed valuesDescriptionDefault value
wikiYestrue falseA flag stating whether the wiki syntax inside the HTML macro will be evaluated or notfalse
cleanYestrue falseA flag stating whether the user input should be converted to valid XHTML or nottrue

Examples

The wiki syntax inside the macro is not interpreted

{{html wiki="false" clean="false"}}
{{warning}}This is a warning message.{{/warning}}
{{/html}}

will display

{{warning}}This is a warning message.{{/warning}}

The wiki syntax inside the macro is interpreted

{{html wiki="true" clean="false"}}
<html>
  <head><strong>List</strong></head>
  <li>* Item1</li>
  <li>* Item2</li>
</html>
{{/html}}

will display

List
  • * Item1
  • * Item2
  • Related Pages

    Search this space