Docx writer: insert space between footnote ref and footnote.
This matches Word's default behavior. Closes #2527.
This commit is contained in:
parent
87f20f11e2
commit
593cbd8142
1 changed files with 2 additions and 2 deletions
|
@ -1070,8 +1070,8 @@ inlineToOpenXML opts (Note bs) = do
|
|||
[ mknode "w:rPr" [] footnoteStyle
|
||||
, mknode "w:footnoteRef" [] () ]
|
||||
let notemarkerXml = RawInline (Format "openxml") $ ppElement notemarker
|
||||
let insertNoteRef (Plain ils : xs) = Plain (notemarkerXml : ils) : xs
|
||||
insertNoteRef (Para ils : xs) = Para (notemarkerXml : ils) : xs
|
||||
let insertNoteRef (Plain ils : xs) = Plain (notemarkerXml : Space : ils) : xs
|
||||
insertNoteRef (Para ils : xs) = Para (notemarkerXml : Space : ils) : xs
|
||||
insertNoteRef xs = Para [notemarkerXml] : xs
|
||||
oldListLevel <- gets stListLevel
|
||||
oldParaProperties <- gets stParaProperties
|
||||
|
|
Loading…
Add table
Reference in a new issue