X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/becacc5566bfa841f907b51f36d0034081842752..97819910b83aed6784e78cc28554584785d92497:/doc/plugins/htmltidy.mdwn?ds=sidebyside 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.