This was not a good fix. There is plenty of HTML that would have been
parsed unproperly, e.g.
This is a simple example of <em>HTML</em>
that would have not been broken in two lines.
The proper fix is to always print line breaks instead of newlines, and
ensure that Sundown never inserts newlines when rendering span-level
elements, which is the case since the previous commit.
The original SmartyPants comes with three dash replacement modes:
1 => "--" for em-dashes; no en-dash support
2 => "---" for em-dashes; "--" for en-dashes
3 => "--" for em-dashes; "---" for en-dashes
Sundown now runs with number 2, because I am opinionated and I think
that the other 2 options are stupid.
It is by the goodness of God that in our country we have those
three unspeakably precious things:
freedom of speech,
freedom of conscience,
and the prudence never to practice either of them.
-- Mark Twain, Following the Equator (1897)