git.iko.soy/typeable/pandoc
on master help sign in
DocBook reader: print ? for xref tag.
commite1e6505abeabd6f743f9f35f3804435431239f33 authorJohn MacFarlane <fiddlosopher@gmail.com> dateFri 11 May 2012, 20:20 (14 years ago) parentd46d200
1 file changed+1
src/Text/Pandoc/Readers/DocBook.hs+1
src/Text/Pandoc/Readers/DocBook.hs+1
@@ -856,6 +856,7 @@ parseInline (Elem e) =
856856 "constant" -> codeWithLang ["constant"]
857857 "userinput" -> codeWithLang ["userinput"]
858858 "varargs" -> return $ code "(...)"
859+ "xref" -> return $ str "?" -- so at least you know something is there
859860 "email" -> return $ link ("mailto:" ++ strContent e) ""
860861 $ code $ strContent e
861862 "uri" -> return $ link (strContent e) "" $ code $ strContent e