mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 00:15:44 +00:00
Merge pull request #1476 from jkr/endnote-fix
Docx Parser: Produce endnotes.
This commit is contained in:
@@ -857,8 +857,8 @@ elemToRun ns element
|
||||
notes <- asks envNotes
|
||||
case lookupEndnote enId notes of
|
||||
Just e -> do bps <- mapD (elemToBodyPart ns) (elChildren e)
|
||||
return $ Footnote bps
|
||||
Nothing -> return $ Footnote []
|
||||
return $ Endnote bps
|
||||
Nothing -> return $ Endnote []
|
||||
elemToRun ns element
|
||||
| isElem ns "w" "r" element = do
|
||||
runElems <- elemToRunElems ns element
|
||||
|
||||
Reference in New Issue
Block a user