]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/contrib/htmlbalance.mdwn
462e4b8e981c290d9c0bad9dc015c43852523ee4
[ikiwiki.git] / doc / plugins / contrib / htmlbalance.mdwn
1 [[!template id=plugin name=htmlbalance author="[[Simon_McVittie|smcv]]"]]
2 [[!tag type/html]]
3
4 This plugin ensures that the HTML emitted by ikiwiki contains well-balanced
5 HTML tags, by parsing it with [[!cpan HTML::TreeBuilder]] and re-serializing it. This
6 acts as a lighter-weight alternative to [[plugins/htmltidy]]; it doesn't
7 ensure validity, but it does at least ensure that formatting from a
8 blog post pulled in by the [[ikiwiki/directive/inline]] directive doesn't
9 leak into the rest of the page.
10
11 htmlbalance is available from the 'htmlbalance' branch in [[smcv]]'s git repository.