@@ -256,10 +256,10 @@ noteToMarkdown opts num blocks = do
256256 then hang (writerTabStop opts) (marker <> spacer) contents
257257 else marker <> spacer <> contents
258258
259−-- | (Code) blocks with a single class can just use it standalone,
260−-- no need to bother with curly braces.
259+-- | (Code) blocks with a single class and no attributes can just use it
260+-- standalone, no need to bother with curly braces.
261261classOrAttrsToMarkdown :: Attr -> Doc Text
262−classOrAttrsToMarkdown ("",[cls],_) = literal cls
262+classOrAttrsToMarkdown ("",[cls],[]) = literal cls
263263classOrAttrsToMarkdown attrs = attrsToMarkdown attrs
264264
265265-- | Ordered list start parser for use in Para below.