From ef5c7fb4b6b62f16495b0888f41893fb9f5bc14e Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 8 May 2012 21:25:51 -0700 Subject: DocBook reader: Trim definition list terms. --- src/Text/Pandoc/Readers/DocBook.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Text/Pandoc') 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 -- cgit v1.2.3