summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/LaTeX.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-11-26 21:27:56 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2016-11-26 21:27:56 +0100
commit2873cd82886d1fa557bf3abde37b5ceb3cadf40c (patch)
tree5ce3f6d694ac3325b148551bdce9a5e23d6f983a /src/Text/Pandoc/Readers/LaTeX.hs
parent78f2c994e124c5a4e0194e738701dca2621dfaa5 (diff)
LaTeX reader: don't treat `\vspace` and `\hspace` as block commands.
Fixed an error which came up, for example, with `\vspace` inside a caption. (Captions expect inlines.) Closes #3256.
Diffstat (limited to 'src/Text/Pandoc/Readers/LaTeX.hs')
-rw-r--r--src/Text/Pandoc/Readers/LaTeX.hs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/LaTeX.hs b/src/Text/Pandoc/Readers/LaTeX.hs
index acd17bd2a..edcf35e51 100644
--- a/src/Text/Pandoc/Readers/LaTeX.hs
+++ b/src/Text/Pandoc/Readers/LaTeX.hs
@@ -367,7 +367,6 @@ blockCommands = M.fromList $
, "ignore"
, "hyperdef"
, "markboth", "markright", "markleft"
- , "hspace", "vspace"
, "newpage"
]