aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-06-26 19:41:34 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-06-26 19:41:34 -0700
commitdc158768b9cf13b9dd63651da0a3f9b6236ff189 (patch)
tree1612c82c7dc86192b015450b7c73031ecefad087 /src/Text
parent527be1ddf2ef23d954f59d982e7f8c432ec2f3b8 (diff)
downloadpandoc-dc158768b9cf13b9dd63651da0a3f9b6236ff189.tar.gz
Docbook reader: Added support for "bold" emphasis.
Thanks to mb21.
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/DocBook.hs1
1 files changed, 1 insertions, 0 deletions
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