Subject: | More HTML entities that aren't handled properly: — – |
#!/usr/bin/perl
use HTML::TreeBuilder;
use HTML::FormatPS;
print HTML::FormatPS->new()->format(HTML::TreeBuilder->new_from_content("
<html>
<body>
<p>M dash: —</p>
<p>N dash: –</p>
</body>
</html>
"));