DOKK / manpages / debian 10 / libtext-markup-perl / Text::Markup::HTML.3pm.en
Text::Markup::HTML(3pm) User Contributed Perl Documentation Text::Markup::HTML(3pm)

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

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

This is the HTML <http://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

David E. Wheeler <david@justatheory.com>

Copyright (c) 2011-2014 David E. Wheeler. Some Rights Reserved.

This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

2018-12-15 perl v5.28.1