diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-09-04 09:24:42 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-09-04 09:24:42 -0700 |
commit | e4cca4cf67af31ce574ef2871d08f0719d4a50a5 (patch) | |
tree | 422f30b5147e47dc80a7e95c19b49dd5e01b0b41 /test | |
parent | 0a3cc0be4563514c05a929844f729b46be508c5c (diff) | |
download | pandoc-e4cca4cf67af31ce574ef2871d08f0719d4a50a5.tar.gz |
Roff readers: better parsing of groups.
We now allow groups where the closing `\\}` isn't at the
beginning of a line.
Closes #5410.
Diffstat (limited to 'test')
-rw-r--r-- | test/Tests/Readers/Man.hs | 2 | ||||
-rw-r--r-- | test/command/5410.md | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/test/Tests/Readers/Man.hs b/test/Tests/Readers/Man.hs index 8c5d428e5..c3d2582ca 100644 --- a/test/Tests/Readers/Man.hs +++ b/test/Tests/Readers/Man.hs @@ -74,7 +74,7 @@ tests = [ =?> para (text "hi " <> emph (text "there " <> strong (text "bold")) <> text " ok") , "skip" =: - "a\\%\\{\\}\\\n\\:b\\0" + "a\\%\\\n\\:b\\0" =?> (para $ str "ab\8199") , "replace" =: "\\-\\ \\\\\\[lq]\\[rq]\\[em]\\[en]\\*(lq\\*(rq" diff --git a/test/command/5410.md b/test/command/5410.md new file mode 100644 index 000000000..fee90a1a4 --- /dev/null +++ b/test/command/5410.md @@ -0,0 +1,7 @@ +``` +% pandoc -f man -t native +.ie n \{\ +'br\} +^D +[Para [LineBreak]] +``` |