X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/48f9d393393709d8e998a9eb8d4095773ab185a1..14947b41085cd2d83043620df96e0c689183799c:/doc/plugins/htmltidy.mdwn?ds=sidebyside diff --git a/doc/plugins/htmltidy.mdwn b/doc/plugins/htmltidy.mdwn index 2c6f7b7fe..580e56f59 100644 --- a/doc/plugins/htmltidy.mdwn +++ b/doc/plugins/htmltidy.mdwn @@ -1,5 +1,11 @@ +[[!template id=plugin name=htmltidy author="Faidon Liambotis"]] +[[!tag type/html]] +[[!tag type/slow]] + This plugin uses [tidy](http://tidy.sourceforge.net/) to tidy up the html emitted by ikiwiki. Besides being nicely formatted, this helps ensure that -even if users enter suboptimal html, your wiki generates 100% valid html. +even if users enter suboptimal html, your wiki generates valid html. -This plugin is included in ikiwiki, but is not enabled by default. +Note that since tidy is an external program, that is run each time a page +is built, this plugin will slow ikiwiki down somewhat. [[plugins/htmlbalance]] +might provide a faster alternative.