diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-02-07 21:50:55 -0800 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-02-07 22:46:41 -0800 |
commit | 7a602d222f6ba005a901d6b3322f9392602d6b9d (patch) | |
tree | 0e520370ae14be0ec50b6a649c7f847318508841 /reference.docx | |
parent | 12aa83f70eb5d5fa9f472be2347b4cefa7975b62 (diff) | |
download | pandoc-7a602d222f6ba005a901d6b3322f9392602d6b9d.tar.gz |
Limit nesting of strong/emph.
This avoids exponential lookahead in parasitic cases, like
a**a*a**a*a**a*a**a*a**a*a**a*a**a*a**.
Added stateMaxNestingLevel to ParserState.
We set this to 6, so you can still have Emph inside Emph, just not
indefinitely.
Diffstat (limited to 'reference.docx')
0 files changed, 0 insertions, 0 deletions