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.
commit2873cd82886d1fa557bf3abde37b5ceb3cadf40c
authorJohn MacFarlane <jgm@berkeley.edu>
dateSat 26 Nov 2016, 21:27 (10 years ago)
parent78f2c99
src/Text/Pandoc/Readers/LaTeX.hs−1
@@ -367,7 +367,6 @@ blockCommands = M.fromList $
367367 , "ignore"
368368 , "hyperdef"
369369 , "markboth", "markright", "markleft"
370− , "hspace", "vspace"
371370 , "newpage"
372371 ]
373372