diff options
author | http://smcv.pseudorandom.co.uk/ <http://smcv.pseudorandom.co.uk/@web> | 2008-11-17 06:13:46 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2008-11-17 06:13:46 -0500 |
commit | 913b516b4ea710a77947fb988a76b7689fbebd62 (patch) | |
tree | 3582400dff930b04a0758d582124427928236b26 /doc/plugins | |
parent | 0e31e924e88d660b75bb8d33fb6ca1eb80a8a5e2 (diff) | |
download | ikiwiki-913b516b4ea710a77947fb988a76b7689fbebd62.tar ikiwiki-913b516b4ea710a77947fb988a76b7689fbebd62.tar.gz |
Link to third-party htmlbalance plugin
Diffstat (limited to 'doc/plugins')
-rw-r--r-- | doc/plugins/contrib/htmlbalance.mdwn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/plugins/contrib/htmlbalance.mdwn b/doc/plugins/contrib/htmlbalance.mdwn new file mode 100644 index 000000000..462e4b8e9 --- /dev/null +++ b/doc/plugins/contrib/htmlbalance.mdwn @@ -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. |