X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/becacc5566bfa841f907b51f36d0034081842752..1182e9d0eea5d995b830c2b3ed73c5b5b95dec99:/doc/plugins/htmltidy.mdwn diff --git a/doc/plugins/htmltidy.mdwn b/doc/plugins/htmltidy.mdwn index 38c4767ac..580e56f59 100644 --- a/doc/plugins/htmltidy.mdwn +++ b/doc/plugins/htmltidy.mdwn @@ -1,7 +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. - -This plugin is included in ikiwiki, but is not enabled by default. +even if users enter suboptimal html, your wiki generates valid html. -[[tag type/html]] +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.