@@ -1006,12 +1006,12 @@ renderRole contents fmt role attr = case role of
1006 "RFC" -> return $ rfcLink contents
1006 "RFC" -> return $ rfcLink contents
1007 "pep-reference" -> return $ pepLink contents
1007 "pep-reference" -> return $ pepLink contents
1008 "PEP" -> return $ pepLink contents
1008 "PEP" -> return $ pepLink contents
1009− "literal" -> return $ B.str contents
1009+ "literal" -> return $ B.codeWith attr contents
1010 "math" -> return $ B.math contents
1010 "math" -> return $ B.math contents
1011 "title-reference" -> titleRef contents
1011 "title-reference" -> titleRef contents
1012 "title" -> titleRef contents
1012 "title" -> titleRef contents
1013 "t" -> titleRef contents
1013 "t" -> titleRef contents
1014− "code" -> return $ B.codeWith attr contents
1014+ "code" -> return $ B.codeWith (union attr ["code"]) contents
1015 "raw" -> return $ B.rawInline (fromMaybe "" fmt) contents
1015 "raw" -> return $ B.rawInline (fromMaybe "" fmt) contents
1016 custom -> do
1016 custom -> do
1017 customRole <- stateRstCustomRoles <$> getState
1017 customRole <- stateRstCustomRoles <$> getState