LaTeX reader: be more picky about beamer angle arguments.
We now only allow them if they contain only numbers,
spaces, `-`, and `,`.
commitb98a05d604ab4353c2e684beecf669b182d88906
authorJohn MacFarlane <jgm@berkeley.edu>
dateFri 24 Mar 2017, 16:23 (10 years ago)
parent438e868
src/Text/Pandoc/Readers/LaTeX.hs+1−1
@@ -948,7 +948,7 @@ skipopts = skipMany rawopt
948948rawangle :: PandocMonad m => LP m ()
949949rawangle = try $ do
950950 char '<'
951− skipMany (noneOf ">")
951+ skipMany (oneOf "0123456789,- \t")
952952 char '>'
953953 return ()
954954