fix
parent
58fcc5d468
commit
07cb0ed1cc
|
@ -188,7 +188,7 @@ partial def modifyElement (element : Element) : HtmlM Element :=
|
||||||
else if name = "a" then
|
else if name = "a" then
|
||||||
extendAnchor el
|
extendAnchor el
|
||||||
-- auto link for inline <code></code>
|
-- auto link for inline <code></code>
|
||||||
else if name = "code" ∧ attrs.contains "language-lean" then
|
else if name = "code" ∧ attrs.find? "class" = "language-lean" then
|
||||||
autoLink el
|
autoLink el
|
||||||
-- recursively modify
|
-- recursively modify
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue