Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

taiju/mt-plugin-html-packer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NAME

HTMLPacker - Another HTML code cleaner by a Perl module HTML::Packer

SYNOPSIS

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>

DESCRIPTION

As it is HTML::Packer;

See also HTML::Packer.

SEEALSO

HTML::Packer

LICENSE

Copyright (C) HIGASHI Taiju.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

HIGASHI Taiju higashi@taiju.info

About

Another HTML code cleaner by a Perl module HTML::Packer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages