Open hellux opened 1 year ago
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>,
{---
<p>{-–</p>
<p>{—</p>
{-- generates <p>{-- instead of <p>{–</p>.
{--
<p>{--
<p>{–</p>
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.
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>
.