oops
This commit is contained in:
parent
b5aa0188c2
commit
f6d10672d2
1 changed files with 1 additions and 1 deletions
|
@ -39,7 +39,7 @@ makeBlocks :: Block -> [Block]
|
||||||
makeBlocks (Div ("", clss, []) blks)
|
makeBlocks (Div ("", clss, []) blks)
|
||||||
| Just (cls, rest) <- pluck1 ["figure", "aside"] clss =
|
| Just (cls, rest) <- pluck1 ["figure", "aside"] clss =
|
||||||
let html = RawBlock $ Format "html"
|
let html = RawBlock $ Format "html"
|
||||||
open = html $ "<" <> cls <> "class='" <> Text.unwords rest <> "'>"
|
open = html $ "<" <> cls <> " class='" <> Text.unwords rest <> "'>"
|
||||||
close = html $ "</" <> cls <> ">"
|
close = html $ "</" <> cls <> ">"
|
||||||
in
|
in
|
||||||
[open] ++ blks ++ [close]
|
[open] ++ blks ++ [close]
|
||||||
|
|
Loading…
Reference in a new issue