diff options
-rwxr-xr-x | mht | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ use v5.12; use warnings; +use HTML::Entities qw/encode_entities/; use Text::ParseWords qw/quotewords/; @@ -161,7 +162,7 @@ while (<>) { $empty .= "\n"; } else { print $empty; $empty = ''; - print "$_\n"; + print encode_entities($_) . "\n"; } } |