diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-08 23:41:04 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-08 23:41:04 -0800 |
commit | 2b1ddc26801abd94fcf5a3cdf312cbf4156843f4 (patch) | |
tree | dfa6668216cf2f48505ac4270bbb428c5e6b4cc0 /src | |
parent | 626cefeac35afdf00fb85c01ed66f485f47b53a0 (diff) | |
parent | 2150903230d1de3d0632205efc7f77e978c8177e (diff) | |
download | pandoc-2b1ddc26801abd94fcf5a3cdf312cbf4156843f4.tar.gz |
Merge pull request #1797 from bos/master
DocBook reader: add support for "classname", document and test "type"
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/DocBook.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs index 463376ef0..e79f7d1fa 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 @@ -471,7 +471,7 @@ List of all DocBook tags, with [x] indicating implemented, [ ] token - A unit of information [x] tr - A row in an HTML table [ ] trademark - A trademark -[ ] type - The classification of a value +[x] type - The classification of a value [x] ulink - A link that addresses its target by means of a URL (Uniform Resource Locator) [x] uri - A Uniform Resource Identifier @@ -903,6 +903,7 @@ parseInline (Elem e) = else doubleQuoted contents "simplelist" -> simpleList "segmentedlist" -> segmentedList + "classname" -> codeWithLang "code" -> codeWithLang "filename" -> codeWithLang "literal" -> codeWithLang |