aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/htmltidy.mdwn
blob: 580e56f596d690e42ce10467329f05e1b07354d5 (plain)
1
2
3
4
5
6
7
8
9
10
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 valid 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.