Docbook reader: Added support for "bold" emphasis.
Thanks to mb21.
commitdc158768b9cf13b9dd63651da0a3f9b6236ff189
authorJohn MacFarlane <fiddlosopher@gmail.com>
dateTue 26 Jun 2012, 19:41 (14 years ago)
parent527be1d
src/Text/Pandoc/Readers/DocBook.hs+1
@@ -874,6 +874,7 @@ parseInline (Elem e) =
874874 return $ link href "" ils'
875875 "foreignphrase" -> emph <$> innerInlines
876876 "emphasis" -> case attrValue "role" e of
877+ "bold" -> strong <$> innerInlines
877878 "strong" -> strong <$> innerInlines
878879 "strikethrough" -> strikeout <$> innerInlines
879880 _ -> emph <$> innerInlines