aboutsummaryrefslogtreecommitdiff
path: root/src/Text
diff options
context:
space:
mode:
Diffstat (limited to 'src/Text')
-rw-r--r--src/Text/Pandoc/Readers/DocBook.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Text/Pandoc/Readers/DocBook.hs b/src/Text/Pandoc/Readers/DocBook.hs
index bcef38d74..9a655205c 100644
--- a/src/Text/Pandoc/Readers/DocBook.hs
+++ b/src/Text/Pandoc/Readers/DocBook.hs
@@ -773,9 +773,9 @@ parseInline (Elem e) =
then singleQuoted contents
else doubleQuoted contents
"code" -> return $ code $ strContent e -- TODO attrs
- "filename" -> return $ code $ strContent e -- TODO attrs
+ "filename" -> return $ codeWith ("",["filename"],[]) $ strContent e -- TODO attrs
"literal" -> return $ code $ strContent e -- TODO attrs
- "option" -> return $ code $ strContent e -- TODO attrs
+ "option" -> return $ codeWith ("",["option"],[]) $ strContent e -- TODO attrs
"markup" -> return $ code $ strContent e -- TODO attrs
"wordasword" -> emph <$> innerInlines
"varname" -> return $ codeWith ("",["varname"],[]) $ strContent e