HTMLPacker - Another HTML code cleaner by a Perl module HTML::Packer
Input:
<mt:MinifyHTML>
<ul>
<li>
<a href="#foo">foo</a>
</li>
<li>
<a href="#bar">bar</a>
</li>
<li>
<a href="#baz">baz</a>
</li>
</ul>
</mt:MinifyHTML>
Output:
<ul><li> <a href="#foo">foo</a> </li><li> <a href="#bar">bar</a> </li><li> <a href="#baz">baz</a> </li></ul>
Input:
<mt:SetVarBlock name="mylist">
<ul>
<li>
<a href="#foo">foo</a>
</li>
<li>
<a href="#bar">bar</a>
</li>
<li>
<a href="#baz">baz</a>
</li>
</ul>
</mt:SetVarBlock>
<$mt:Var name="mylist" minifyhtml="1"$>
Output:
<ul><li> <a href="#foo">foo</a> </li><li> <a href="#bar">bar</a> </li><li> <a href="#baz">baz</a> </li></ul>
As it is HTML::Packer;
See also HTML::Packer.
Copyright (C) HIGASHI Taiju.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
HIGASHI Taiju higashi@taiju.info