LaTeX reader: be more picky about beamer angle arguments.

We now only allow them if they contain only numbers,
spaces, `-`, and `,`.
This commit is contained in:
John MacFarlane 2017-03-24 16:23:49 +01:00
parent 438e8686cf
commit b98a05d604

View file

@ -948,7 +948,7 @@ skipopts = skipMany rawopt
rawangle :: PandocMonad m => LP m ()
rawangle = try $ do
char '<'
skipMany (noneOf ">")
skipMany (oneOf "0123456789,- \t")
char '>'
return ()