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.
8 lines
67 B
Markdown
8 lines
67 B
Markdown
```
|
|
% pandoc
|
|
- [o] _hi_
|
|
^D
|
|
<ul>
|
|
<li>[o] <em>hi</em></li>
|
|
</ul>
|
|
```
|