@@ -149,7 +149,8 @@ tests = [ testGroup "inline code"
149149 (codeWith ("",["javascript"],[]) "document.write(\"Hello\");")
150150 , "with attribute space" =:
151151 "`*` {.haskell .special x=\"7\"}"
152− =?> para (codeWith ("",["haskell","special"],[("x","7")]) "*")
152+ =?> para (code "*" <> space <> str "{.haskell" <> space <>
153+ str ".special" <> space <> str "x=\"7\"}")
153154 ]
154155 , testGroup "emph and strong"
155156 [ "two strongs in emph" =: