Try the HTML::Element as_HTML() method. The example from the docs give typical usage like so:
# syntax:
# $h->as_HTML($entities, $indent_char, \%optional_end_tags)
print $h->as_HTML('<>', ' ', {});
Output is indented by specifying $indent_char. In this case the HTML is indented with two spaces.
koIn reply to Re: X(ht)ML Source Formatting
by koku
in thread X(ht)ML Source Formatting
by ViceRaid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |