mirror of
https://github.com/jgm/pandoc.git
synced 2026-07-11 11:57:16 +00:00
bc6aac7b47
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.
67 B
67 B
% pandoc
- [o] _hi_
^D
<ul>
<li>[o] <em>hi</em></li>
</ul>