aboutsummaryrefslogtreecommitdiff
path: root/test/command/5711.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-08-27 10:48:02 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-08-27 10:48:02 -0700
commitfba1296fd1ac6427d19f537c4b8afda9fc60ac75 (patch)
treecbe8ec4db995419d92a406fbd11be5ea8acd4e16 /test/command/5711.md
parent167fc4bc8732b72cccda0c37139fee3ab94b05cb (diff)
downloadpandoc-fba1296fd1ac6427d19f537c4b8afda9fc60ac75.tar.gz
LaTeX reader: fix `\\` in `\parbox` inside a table cell.
Closes #5711.
Diffstat (limited to 'test/command/5711.md')
-rw-r--r--test/command/5711.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/command/5711.md b/test/command/5711.md
new file mode 100644
index 000000000..0d443c656
--- /dev/null
+++ b/test/command/5711.md
@@ -0,0 +1,13 @@
+```
+% pandoc -t native -f latex
+\documentclass{article}
+\begin{document}
+\begin{tabular}{c}
+\parbox{2cm}{d\\e}
+\end{tabular}
+\end{document}
+^D
+[Table [] [AlignCenter] [0.0]
+ [[]]
+ [[[Plain [Str "d",LineBreak,Str "e"]]]]]
+```