DocBook reader: print ? for xref tag.

This commit is contained in:
John MacFarlane 2012-05-11 20:20:53 -07:00
parent d46d2000f4
commit e1e6505abe

View file

@ -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