cogAllows inserting HTML or XHTML in wiki pages
Developed by

XWiki Development Team

0 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Standard

Installable with the Extension Manager


Allows inserting HTML or XHTML in wiki pages.


{{html wiki="true"|"false" clean="true"|"false"}}...{{/html}}

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
wikiyestrue/falsefalseIndicate if the wiki syntax (including other macros) inside the macro is evaluated or not. If true then the content of the macro is parsed as markup content (written in the syntax of the current page) and rendered back as XHTML in the macro. Then the whole content is output as XHTML.
cleanyestrue/falsetrueIndicate if the user input must be converted to valid XHTML or not. 14.1+ Cleaning is adapted according to the HTML version used in the rendering process, defaulting to HTML 5. This means that in most cases tags like <video> are supported.


Interpreted wiki syntax

{{html wiki="true"}}
      * listitem


  • listitem

Escaped wiki syntax

**some escaped text**


**some escaped text**

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.


Dependencies for this extension (org.xwiki.rendering:xwiki-rendering-macro-html 14.3.1):


Get Connected