mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-25 01:36:45 +00:00
Removed redundant subtitle in title
subtitle is allready used to create a subtitle for the document appending the subtitle to the main title leads to double subtitle in the document
This commit is contained in:
@@ -763,9 +763,7 @@ makeTOC _ = return []
|
||||
-- OpenXML elements (the main document and footnotes).
|
||||
writeOpenXML :: (PandocMonad m) => WriterOptions -> Pandoc -> WS m ([Element], [Element],[Element])
|
||||
writeOpenXML opts (Pandoc meta blocks) = do
|
||||
let tit = docTitle meta ++ case lookupMeta "subtitle" meta of
|
||||
Just (MetaBlocks [Plain xs]) -> LineBreak : xs
|
||||
_ -> []
|
||||
let tit = docTitle meta
|
||||
let auths = docAuthors meta
|
||||
let dat = docDate meta
|
||||
let abstract' = case lookupMeta "abstract" meta of
|
||||
|
||||
Reference in New Issue
Block a user