diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-02-15 22:33:30 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-02-15 22:34:32 -0800 |
commit | d7d1c9c8e41851e06c1224ae018f740c915a3600 (patch) | |
tree | 243b5ec095eacfc31b0ed32f605c4e091e0aee86 /test/command/5304.md | |
parent | fb5bafd13e9fc890a134c93dd1aa381409a4058d (diff) | |
download | pandoc-d7d1c9c8e41851e06c1224ae018f740c915a3600.tar.gz |
Markdown reader: fix bug parsing fenced code blocks.
Previously parsing would break if the code block
contained a string of backticks of sufficient length
followed by something other than end of line.
Closes #5304.
Diffstat (limited to 'test/command/5304.md')
-rw-r--r-- | test/command/5304.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/test/command/5304.md b/test/command/5304.md new file mode 100644 index 000000000..62b2b9ddd --- /dev/null +++ b/test/command/5304.md @@ -0,0 +1,24 @@ +```` +% pandoc -f markdown -t markdown +``` {.markdown} +`«sträng»` + +`` «sträng» `` + +``` «sträng» ``` + +````«sträng»```` +... +``` +^D +``` {.markdown} +`«sträng»` + +`` «sträng» `` + +``` «sträng» ``` + +````«sträng»```` +... +``` +```` |