LaTeX reader: Allow space before bracketed options.
This commit is contained in:
parent
8a157ff839
commit
e86cbcd7e1
1 changed files with 2 additions and 1 deletions
|
@ -774,7 +774,8 @@ paropt :: PandocMonad m => LP m Inlines
|
|||
paropt = parenWrapped inline
|
||||
|
||||
rawopt :: PandocMonad m => LP m Text
|
||||
rawopt = do
|
||||
rawopt = try $ do
|
||||
optional sp
|
||||
inner <- untokenize <$> bracketedToks
|
||||
optional sp
|
||||
return $ "[" <> inner <> "]"
|
||||
|
|
Loading…
Add table
Reference in a new issue