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