package Text::Markup::None; use 5.8.1; use strict; use HTML::Entities; use File::BOM qw(open_bom); our $VERSION = '0.17'; sub parser { my ($file, $encoding, $opts) = @_; open_bom my $fh, $file, ":encoding($encoding)"; local $/; my $html = encode_entities(<$fh>, '<>&"'); utf8::encode($html); return qq{
$html