summaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Readers/DocBook.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-05-11 20:20:53 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-05-11 20:20:53 -0700
commite1e6505abeabd6f743f9f35f3804435431239f33 (patch)
treecfd579b10029399bae822b5e5c1cc0c2a6cb5ac6 /src/Text/Pandoc/Readers/DocBook.hs
parentd46d2000f4c30da7eca29459ffd3fde29117500e (diff)
DocBook reader: print ? for xref tag.
Diffstat (limited to 'src/Text/Pandoc/Readers/DocBook.hs')
-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 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