diff options
author | John MacFarlane <jgm@berkeley.edu> | 2016-11-26 21:27:56 +0100 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2016-11-26 21:27:56 +0100 |
commit | 2873cd82886d1fa557bf3abde37b5ceb3cadf40c (patch) | |
tree | 5ce3f6d694ac3325b148551bdce9a5e23d6f983a /src/Text | |
parent | 78f2c994e124c5a4e0194e738701dca2621dfaa5 (diff) | |
download | pandoc-2873cd82886d1fa557bf3abde37b5ceb3cadf40c.tar.gz |
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')
-rw-r--r-- | src/Text/Pandoc/Readers/LaTeX.hs | 1 |
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" ] |