diff options
author | John MacFarlane <fiddlosopher@gmail.com> | 2012-05-11 20:20:53 -0700 |
---|---|---|
committer | John MacFarlane <fiddlosopher@gmail.com> | 2012-05-11 20:20:53 -0700 |
commit | e1e6505abeabd6f743f9f35f3804435431239f33 (patch) | |
tree | cfd579b10029399bae822b5e5c1cc0c2a6cb5ac6 /src | |
parent | d46d2000f4c30da7eca29459ffd3fde29117500e (diff) | |
download | pandoc-e1e6505abeabd6f743f9f35f3804435431239f33.tar.gz |
DocBook reader: print ? for xref tag.
Diffstat (limited to 'src')
-rw-r--r-- | src/Text/Pandoc/Readers/DocBook.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs index bb7a7eeed..ca59cc1af 100644 --- a/src/Text/Pandoc/Readers/DocBook.hs +++ b/src/Text/Pandoc/Readers/DocBook.hs @@ -856,6 +856,7 @@ parseInline (Elem e) = "constant" -> codeWithLang ["constant"] "userinput" -> codeWithLang ["userinput"] "varargs" -> return $ code "(...)" + "xref" -> return $ str "?" -- so at least you know something is there "email" -> return $ link ("mailto:" ++ strContent e) "" $ code $ strContent e "uri" -> return $ link (strContent e) "" $ code $ strContent e |