This commit is contained in:
Rhiannon Morris 2023-05-04 02:35:46 +02:00
parent b5aa0188c2
commit f6d10672d2
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ makeBlocks :: Block -> [Block]
makeBlocks (Div ("", clss, []) blks)
| Just (cls, rest) <- pluck1 ["figure", "aside"] clss =
let html = RawBlock $ Format "html"
open = html $ "<" <> cls <> "class='" <> Text.unwords rest <> "'>"
open = html $ "<" <> cls <> " class='" <> Text.unwords rest <> "'>"
close = html $ "</" <> cls <> ">"
in
[open] ++ blks ++ [close]