Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> perl >> libhtml-prettyprinter-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libhtml-prettyprinter-perl  ]

软件包: libhtml-prettyprinter-perl (0.03-3)

module that generates nice HTML files from HTML syntax trees

HTML::PrettyPrinter produces nicely formatted HTML code from a HTML syntax tree. It is especially useful if the produced HTML file shall be read or edited manually afterwards. Various parameters let you adapt the output to different styles and requirements.

If you don't care how the HTML source looks like as long as it is valid and readable by browsers, you should use the as_HTML() method of HTML::Element instead of the pretty printer. It is about five times faster.

The pretty printer will handle line wrapping, indention and structuring by the way the whitespace in the tree is represented in the output. Furthermore upper/lowercase markup and markup minimization, quoting of attribute values, the encoding of entities and the presence of optional end tags are configurable.

其他与 libhtml-prettyprinter-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 libhtml-prettyprinter-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 22.4 kB86 kB [文件列表]