1CGI::Pretty(3) User Contributed Perl Documentation CGI::Pretty(3)
2
3
4
6 CGI::Pretty - module to produce nicely formatted HTML code
7
9 It will be removed from the CGI distribution in a future release, so
10 you should no longer use it and remove it from any code that currently
11 uses it.
12
13 For now it has been reduced to a shell to prevent your code breaking,
14 but the "pretty" functions will no longer output "pretty" HTML.
15
17 HTML::HTML5::Parser + HTML::HTML5::Writer + XML::LibXML::PrettyPrint:
18
19 print HTML::HTML5::Writer->new(
20 start_tags => 'force',
21 end_tags => 'force',
22 )->document(
23 XML::LibXML::PrettyPrint->new_for_html( indent_string => "\t" )
24 ->pretty_print(
25 HTML::HTML5::Parser->new->parse_string( $html_string )
26 )
27 );
28
29 Marpa::R2::HTML (see the html_fmt script for examples)
30
31 HTML::Tidy
32
33 HTML::Parser
34
35
36
37perl v5.36.0 2022-07-22 CGI::Pretty(3)