<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>htmlbalance</title> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="../style.css" type="text/css" /> <link rel="stylesheet" href="../local.css" type="text/css" /> </head> <body> <div class="page"> <div class="pageheader"> <div class="header"> <span> <span class="parentlinks"> <a href="../index.html">ikiwiki</a>/ <a href="../plugins.html">plugins</a>/ </span> <span class="title"> htmlbalance </span> </span> </div> </div> <div id="pagebody"> <div id="content" role="main"> <p><span class="infobox"> Plugin: htmlbalance<br /> Author: <span class="createlink">Simon McVittie</span><br /> Included in ikiwiki: yes<br /> Enabled by default: no<br /> Included in <a href="./goodstuff.html">goodstuff</a>: no<br /> Currently enabled: no<br /> </span></p> <p>This plugin ensures that the HTML emitted by ikiwiki contains well-balanced HTML tags, by parsing it with <a href="http://search.cpan.org/search?mode=dist&query=HTML%3A%3ATreeBuilder">HTML::TreeBuilder</a> and re-serializing it. This acts as a lighter-weight alternative to <a href="./htmltidy.html">htmltidy</a>; it doesn't ensure validity, but it does at least ensure that formatting from a blog post pulled in by the <a href="../ikiwiki/directive/inline.html">inline</a> directive doesn't leak into the rest of the page.</p> </div> </div> <div id="footer" class="pagefooter" role="contentinfo"> <div id="pageinfo"> <div class="tags"> Tags: <a href="./type/html.html" rel="tag">type/html</a> </div> <div id="backlinks"> Links: <a href="./aggregate.html">aggregate</a> <a href="./comments.html">comments</a> <a href="./htmltidy.html">htmltidy</a> <a href="../news/ikiwiki_version_3.0.html">news/ikiwiki version 3.0</a> <a href="../roadmap.html">roadmap</a> <a href="../tips/optimising_ikiwiki.html">tips/optimising ikiwiki</a> </div> <div class="pagedate"> Last edited <span class="date">Tue Feb 26 23:01:54 2019</span> <!-- Created <span class="date">Tue Feb 26 23:01:54 2019</span> --> </div> </div> <!-- from ikiwiki --> </div> </div> </body> </html>