Skip to content

Commit

Permalink
LaTeX reader: Skip positional options after \begin{figure}.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgm committed May 12, 2013
1 parent af6f216 commit d097734
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Text/Pandoc/Readers/LaTeX.hs
Original file line number Diff line number Diff line change
Expand Up @@ -808,6 +808,7 @@ environments :: M.Map String (LP Blocks)
environments = M.fromList
[ ("document", env "document" blocks <* skipMany anyChar)
, ("letter", env "letter" letter_contents)
, ("figure", env "figure" $ skipopts *> blocks)
, ("center", env "center" blocks)
, ("tabular", env "tabular" simpTable)
, ("quote", blockQuote <$> env "quote" blocks)
Expand Down

0 comments on commit d097734

Please sign in to comment.