aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-21 09:02:06 +0000
committerfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b>2006-12-21 09:02:06 +0000
commit48b8267126fc82aadf289762718b8c01e5331e4c (patch)
treec4c581bb4a12e9b12b0f2f5c91ad95b6537282fa /tests
parent862471e417a0a61082d33dacb78438b5b253b1c1 (diff)
downloadpandoc-48b8267126fc82aadf289762718b8c01e5331e4c.tar.gz
Fixed a serious bug in the Markdown reader (also affecting LaTeX
and RST readers). The problem: these readers ran 'runParser' on processed chunks of text to handle embedded block lists in lists and quotation blocks. But then any changes made to the parser state in these chunks was lost, as the state is local to the parser. So, for example, footnotes didn't work in quotes or list items. The fix: instead of calling runParser on some raw text, use setInput to make it the input, then parse it, then use setInput to restore the input to what it was before. This is shorter and more elegant, and it fixes the problem. 'BlockQuoteContext' was also eliminated from ParserContext, as it isn't used anywhere. git-svn-id: https://pandoc.googlecode.com/svn/trunk@261 788f1e2b-df1e-0410-8736-df70ead52e1b
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions