| 1 |
Source: libhtml-prettyprinter-perl |
| 2 |
Maintainer: Debian Perl Group <[email protected]> |
| 3 |
Section: perl |
| 4 |
Testsuite: autopkgtest-pkg-perl |
| 5 |
Priority: optional |
| 6 |
Build-Depends: debhelper-compat (= 13) |
| 7 |
Build-Depends-Indep: perl, |
| 8 |
libhtml-tree-perl, |
| 9 |
libhtml-tagset-perl, |
| 10 |
libhtml-parser-perl |
| 11 |
Standards-Version: 3.9.5 |
| 12 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libhtml-prettyprinter-perl |
| 13 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libhtml-prettyprinter-perl.git |
| 14 |
Homepage: https://metacpan.org/release/HTML-PrettyPrinter |
| 15 |
|
| 16 |
Package: libhtml-prettyprinter-perl |
| 17 |
Architecture: all |
| 18 |
Depends: ${misc:Depends}, |
| 19 |
${perl:Depends}, |
| 20 |
libhtml-tree-perl, |
| 21 |
libhtml-tagset-perl, |
| 22 |
libhtml-parser-perl |
| 23 |
Description: module that generates nice HTML files from HTML syntax trees |
| 24 |
HTML::PrettyPrinter produces nicely formatted HTML code from a HTML syntax |
| 25 |
tree. It is especially useful if the produced HTML file shall be read or |
| 26 |
edited manually afterwards. Various parameters let you adapt the output to |
| 27 |
different styles and requirements. |
| 28 |
. |
| 29 |
If you don't care how the HTML source looks like as long as it is valid and |
| 30 |
readable by browsers, you should use the as_HTML() method of HTML::Element |
| 31 |
instead of the pretty printer. It is about five times faster. |
| 32 |
. |
| 33 |
The pretty printer will handle line wrapping, indention and structuring by |
| 34 |
the way the whitespace in the tree is represented in the output. Furthermore |
| 35 |
upper/lowercase markup and markup minimization, quoting of attribute values, |
| 36 |
the encoding of entities and the presence of optional end tags are |
| 37 |
configurable. |