aboutsummaryrefslogtreecommitdiffstats
path: root/tests/pl/Tests_2004/Yuri-Email.text
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2011-10-30 17:28:56 -0400
committerWaylan Limberg <waylan@gmail.com>2011-10-30 17:28:56 -0400
commitc53307a4d555c04e97739fefe0cafc2e97d55328 (patch)
treeb1161ea088aa28f1de63528d791d8fc5db75054e /tests/pl/Tests_2004/Yuri-Email.text
parente8cdb0b4e56666a69a61ae1e56d32cb05c3404b5 (diff)
downloadmarkdown-c53307a4d555c04e97739fefe0cafc2e97d55328.tar.gz
markdown-c53307a4d555c04e97739fefe0cafc2e97d55328.tar.bz2
markdown-c53307a4d555c04e97739fefe0cafc2e97d55328.zip
Fixed #49. Don't crash on poorly/randomly ordered header levels. Maybe someday we will better support any input (patches welcome), but we should never crash on poorly formatted input text. With this fix, we catch the exception and skip over it. The TOC up to the point (and perhaps after) still gets rendered. The incomplete TOC should be the clue to the document author that s/he has a formatting error in the document.
Diffstat (limited to 'tests/pl/Tests_2004/Yuri-Email.text')
0 files changed, 0 insertions, 0 deletions