Implemented literal tag in docbook reader.

This commit is contained in:
John MacFarlane 2012-04-14 21:55:14 -07:00
parent e5c4d7002e
commit f78801aa20

View file

@ -106,6 +106,7 @@ parseInline (Elem e) =
return $ if qt == SingleQuote
then singleQuoted contents
else doubleQuoted contents
"literal" -> return $ code $ strContent e -- TODO attrs
"ulink" -> link
(fromMaybe "" (lookupAttrBy (\attr -> qName attr == "url")
(elAttribs e))) "" <$> innerInlines