diff options
author | John MacFarlane <jgm@berkeley.edu> | 2018-10-14 13:02:36 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2018-10-14 13:02:36 -0700 |
commit | cf8224045bf927420ce4cb67f6fe703a95645fe6 (patch) | |
tree | 7bf270f84ae88fce05f4d143aa5851b716f8706f /test/command | |
parent | 2bc429a57ca87f7d498c1412910eda4ebce2455b (diff) | |
download | pandoc-cf8224045bf927420ce4cb67f6fe703a95645fe6.tar.gz |
Markdown reader: Fix awkward soft break movements before abbreviations.
Closes #4635.
Diffstat (limited to 'test/command')
-rw-r--r-- | test/command/4635.md | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/command/4635.md b/test/command/4635.md new file mode 100644 index 000000000..320b83956 --- /dev/null +++ b/test/command/4635.md @@ -0,0 +1,31 @@ +``` +% pandoc -f markdown -t native +(cf. +foo) +^D +[Para [Str "(cf.",SoftBreak,Str "foo)"]] +``` + +``` +% pandoc -f markdown -t native +a (cf. +foo) +^D +[Para [Str "a",Space,Str "(cf.",SoftBreak,Str "foo)"]] +``` + +``` +% pandoc -f markdown -t native +cf. +foo +^D +[Para [Str "cf.\160foo"]] +``` + +``` +% pandoc -f markdown -t native +a cf. +foo +^D +[Para [Str "a",SoftBreak,Str "cf.\160foo"]] +``` |