From dc158768b9cf13b9dd63651da0a3f9b6236ff189 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 26 Jun 2012 19:41:34 -0700 Subject: Docbook reader: Added support for "bold" emphasis. Thanks to mb21. --- src/Text/Pandoc/Readers/DocBook.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Text/Pandoc') diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs index 93c409918..62f7c61a0 100644 --- a/src/Text/Pandoc/Readers/DocBook.hs +++ b/src/Text/Pandoc/Readers/DocBook.hs @@ -874,6 +874,7 @@ parseInline (Elem e) = return $ link href "" ils' "foreignphrase" -> emph <$> innerInlines "emphasis" -> case attrValue "role" e of + "bold" -> strong <$> innerInlines "strong" -> strong <$> innerInlines "strikethrough" -> strikeout <$> innerInlines _ -> emph <$> innerInlines -- cgit v1.2.3