pandoc/test/command/3690.md
John MacFarlane bc6aac7b47 Parsing: Provide parseFromString'.
This is a verison of parseFromString specialied to
ParserState, which resets stateLastStrPos at the end.
This is almost always what we want.

This fixes a bug where `_hi_` wasn't treated as emphasis in
the following, because pandoc got confused about the
position of the last word:

    - [o] _hi_

Closes #3690.
2017-05-24 22:41:47 +02:00

67 B

% pandoc
- [o] _hi_
^D
<ul>
<li>[o] <em>hi</em></li>
</ul>