aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@serpentine.com>2014-12-08 23:12:06 -0800
committerBryan O'Sullivan <bos@serpentine.com>2014-12-08 23:12:06 -0800
commitfe1d147187db852d2eeacd3e40d3e81d197180a4 (patch)
treecf9c401fb5af448c1f4cd330b14834d4cb3ae5c0 /src/Text/Pandoc/Readers
parent33fdb6bc1550de7cf1d5fa6735bb22adcbc0a7e9 (diff)
downloadpandoc-fe1d147187db852d2eeacd3e40d3e81d197180a4.tar.gz
DocBook reader: add support for classname
Diffstat (limited to 'src/Text/Pandoc/Readers')
-rw-r--r--src/Text/Pandoc/Readers/DocBook.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs
index 463376ef0..6117d6867 100644
--- a/src/Text/Pandoc/Readers/DocBook.hs
+++ b/src/Text/Pandoc/Readers/DocBook.hs
@@ -81,7 +81,7 @@ List of all DocBook tags, with [x] indicating implemented,
[ ] citerefentry - A citation to a reference page
[ ] citetitle - The title of a cited work
[ ] city - The name of a city in an address
-[ ] classname - The name of a class, in the object-oriented programming sense
+[x] classname - The name of a class, in the object-oriented programming sense
[ ] classsynopsis - The syntax summary for a class definition
[ ] classsynopsisinfo - Information supplementing the contents of
a ClassSynopsis
@@ -903,6 +903,7 @@ parseInline (Elem e) =
else doubleQuoted contents
"simplelist" -> simpleList
"segmentedlist" -> segmentedList
+ "classname" -> codeWithLang
"code" -> codeWithLang
"filename" -> codeWithLang
"literal" -> codeWithLang