diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-05-08 21:25:51 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-05-08 21:25:51 -0700 |
commit | ef5c7fb4b6b62f16495b0888f41893fb9f5bc14e (patch) | |
tree | c8608a2458fcfd9b7b1ae3f2b67f62f9a02183d6 /src/Text/Pandoc | |
parent | 6b783d38eaf356213cd6015e6d9d50eb57dcad10 (diff) | |
download | pandoc-ef5c7fb4b6b62f16495b0888f41893fb9f5bc14e.tar.gz |
DocBook reader: Trim definition list terms.
Diffstat (limited to 'src/Text/Pandoc')
-rw-r--r-- | src/Text/Pandoc/Readers/DocBook.hs | 2 |
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 |