demydd / pandoc

Automatically exported from code.google.com/p/pandoc
0 stars 0 forks source link

Odd interaction between inline literal and headers with backticks in RST reader #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Run pandoc -r rst on the following input:

``#``

Indented code block

Indented code block


Expected output:  an inline literal # followed by two h1 headings.

The problem:  Pandoc will get this right, but it takes forever.  This
happens even with r526, which fixed a few bugs in RST parsing.  Note
that the inline literal by itself, or the headings by themselves,
are parsed quickly.

This bug is responsible for pandoc's hanging while trying to parse the RST
markup specification:
http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.txt

Original issue reported on code.google.com by fiddloso...@gmail.com on 12 Feb 2007 at 3:59

GoogleCodeExporter commented 8 years ago
Fixed in r529.

Original comment by fiddloso...@gmail.com on 14 Feb 2007 at 6:58