Unmatched {- does not allow - to be part of em/en-dash
hellux opened this issue · 1 comments
hellux commented
For the current implementation, if the opener is unmatched, the hyphen does not get parsed together with
later characters, e.g.
-
{---
generates<p>{-–</p>
instead of<p>{—</p>
, -
{--
generates<p>{--
instead of<p>{–</p>
.
jgm commented
That's true; it's an artifact of a parsing strategy that tries not to backtrack. It's not too worrisome because this is unlikely to occur naturally.