aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r--src/Text/Pandoc/Readers/DocBook.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs
index 8eba3b2cf..90d2bde1a 100644
--- a/src/Text/Pandoc/Readers/DocBook.hs
+++ b/src/Text/Pandoc/Readers/DocBook.hs
@@ -657,7 +657,7 @@ parseBlock (Elem e) =
$ map elContent defs
items' <- mapM ((mconcat <$>) . mapM parseBlock)
$ map elContent items
- return (mconcat $ intersperse (str "; ") defs', items')
+ return (trimInlines $ mconcat $ intersperse (str "; ") defs', items')
getTitle = case filterChild (named "title") e of
Just t -> do
tit <- getInlines t