LaTeX reader: improve descItem.
For some reason we were skipping arbitrary blocks before `\item`. This is now changed to "skip whitespace and comments."
This commit is contained in:
parent
7ddb609aae
commit
183fb3e327
1 changed files with 1 additions and 1 deletions
|
@ -1187,7 +1187,7 @@ item = void blocks *> controlSeq "item" *> skipopts *> blocks
|
||||||
|
|
||||||
descItem :: PandocMonad m => LP m (Inlines, [Blocks])
|
descItem :: PandocMonad m => LP m (Inlines, [Blocks])
|
||||||
descItem = do
|
descItem = do
|
||||||
blocks -- skip blocks before item
|
optional spaces1
|
||||||
controlSeq "item"
|
controlSeq "item"
|
||||||
sp
|
sp
|
||||||
ils <- opt
|
ils <- opt
|
||||||
|
|
Loading…
Reference in a new issue