aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-12-08 16:33:29 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2017-12-08 16:34:15 -0800
commit67b6abc8065a290517ff1486d09b4e57fce19733 (patch)
tree2c7125ad85ab3d3954b99ffed8a21d633627709f /test
parent677ff2aaea256b0793ab471aded7fdc72d47046f (diff)
downloadpandoc-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.md25
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."]]
+```