aboutsummaryrefslogtreecommitdiff
path: root/test/command
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-05-29 22:45:49 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-05-29 22:47:04 +0200
commit5ec384eb60a4d32a83e94eec041020004dff96ce (patch)
treeddea05cf7f12072e2d22f5691f08df488b33f298 /test/command
parent230a1b89e8fd761a67599aad190a6b9462686abc (diff)
downloadpandoc-5ec384eb60a4d32a83e94eec041020004dff96ce.tar.gz
LaTeX reader: handle escaped & inside table cell.
Closes #3708.
Diffstat (limited to 'test/command')
-rw-r--r--test/command/3708.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/3708.md b/test/command/3708.md
new file mode 100644
index 000000000..2cbc82c25
--- /dev/null
+++ b/test/command/3708.md
@@ -0,0 +1,15 @@
+```
+% pandoc -f latex -t native
+\begin{tabular}{cc}
+ A & B\&1 \\
+ C & D
+\end{tabular}
+^D
+[Table [] [AlignCenter,AlignCenter] [0.0,0.0]
+ [[]
+ ,[]]
+ [[[Plain [Str "A"]]
+ ,[Plain [Str "B&1"]]]
+ ,[[Plain [Str "C"]]
+ ,[Plain [Str "D"]]]]]
+```