Properly handle citations nested in other inline elements.
Closes #460. Note: processBiblio is a mess. It should be rewritten for clarity and efficiency.
This commit is contained in:
parent
7bc4dc37b2
commit
6b46c2dfd1
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ processCite s cs (Cite t _ : rest) =
|
|||
++ processCite s cs rest
|
||||
else Cite t (renderPandoc s (x:xs)) : processCite s cs rest
|
||||
_ -> Str ("Error processing " ++ show t) : processCite s cs rest
|
||||
processCite s cs (x:xs) = x : processCite s cs xs
|
||||
processCite s cs (x:xs) = bottomUp (processCite s cs) x : processCite s cs xs
|
||||
processCite _ _ [] = []
|
||||
|
||||
procInlines :: ([Inline] -> [Inline]) -> Block -> Block
|
||||
|
|
Loading…
Add table
Reference in a new issue