From 2873cd82886d1fa557bf3abde37b5ceb3cadf40c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 26 Nov 2016 21:27:56 +0100 Subject: 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. --- src/Text/Pandoc/Readers/LaTeX.hs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/Text/Pandoc/Readers/LaTeX.hs') 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" ] -- cgit v1.2.3