Link to third-party htmlbalance plugin

http://smcv.pseudorandom.co.uk/ 2008-11-17 06:13:46 -05:00 committed by Joey Hess
parent 0e31e924e8
commit 913b516b4e
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[[!template id=plugin name=htmlbalance author="[[Simon_McVittie|smcv]]"]]
[[!tag type/html]]
This plugin ensures that the HTML emitted by ikiwiki contains well-balanced
HTML tags, by parsing it with [[!cpan HTML::TreeBuilder]] and re-serializing it. This
acts as a lighter-weight alternative to [[plugins/htmltidy]]; it doesn't
ensure validity, but it does at least ensure that formatting from a
blog post pulled in by the [[ikiwiki/directive/inline]] directive doesn't
leak into the rest of the page.
htmlbalance is available from the 'htmlbalance' branch in [[smcv]]'s git repository.