logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Text::Markup::HTML - HTML parser for Text::Markup

Author

       David E. Wheeler <david@justatheory.com>

Description

       This is the HTML <https://whatwg.org/html/> parser for Text::Markup. All it does is read in the HTML file
       and return it as a string. It makes no assumptions about encoding, and returns the string raw as read
       from the file, with no decoding. It recognizes files with the following extensions as HTML:

       .html.htm.xhtml.xhtm

       To  change  it  the files it recognizes, load this module directly and pass a regular expression matching
       the desired extension(s), like so:

         use Text::Markup::HTML qr{hachetml};

Name

       Text::Markup::HTML - HTML parser for Text::Markup

Synopsis

         use Text::Markup;
         my $html = Text::Markup->new->parse(file => 'hello.html');

See Also