ikiwiki/ plugins/ htmlbalance

Plugin: htmlbalance
Author: Simon McVittie
Included in ikiwiki: yes
Enabled by default: no
Included in goodstuff: no
Currently enabled: no

This plugin ensures that the HTML emitted by ikiwiki contains well-balanced HTML tags, by parsing it with HTML::TreeBuilder and re-serializing it. This acts as a lighter-weight alternative to htmltidy; it doesn't ensure validity, but it does at least ensure that formatting from a blog post pulled in by the inline directive doesn't leak into the rest of the page.