diff options
author | John MacFarlane <jgm@berkeley.edu> | 2017-12-08 16:33:29 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2017-12-08 16:34:15 -0800 |
commit | 67b6abc8065a290517ff1486d09b4e57fce19733 (patch) | |
tree | 2c7125ad85ab3d3954b99ffed8a21d633627709f /test | |
parent | 677ff2aaea256b0793ab471aded7fdc72d47046f (diff) | |
download | pandoc-67b6abc8065a290517ff1486d09b4e57fce19733.tar.gz |
LaTeX reader: fix \ before newline.
This should be a nonbreaking space, as long as it's not
followed by a blank line. This has been fixed at the tokenizer
level.
Closes #4134.
Diffstat (limited to 'test')
-rw-r--r-- | test/command/4134.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/test/command/4134.md b/test/command/4134.md new file mode 100644 index 000000000..b5473d948 --- /dev/null +++ b/test/command/4134.md @@ -0,0 +1,25 @@ +``` +% pandoc -f latex -t native +Hello.\ +world. +^D +[Para [Str "Hello.\160world."]] +``` + +``` +% pandoc -f latex -t native +Hello.\ + world. +^D +[Para [Str "Hello.\160world."]] +``` + +``` +% pandoc -f latex -t native +Hello.\ + +World. +^D +[Para [Str "Hello.\160"] +,Para [Str "World."]] +``` |