]> sipb.mit.edu Git - ikiwiki.git/blob - doc/plugins/htmlbalance.mdwn
Merge commit 'smcv/htmlbalance'
[ikiwiki.git] / doc / plugins / htmlbalance.mdwn
1 [[!template id=plugin name=htmlbalance author="Simon McVittie"]]
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 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 \[[![[ikiwiki/directive/inline]]]] doesn't
9 leak into the rest of the page.