Skip to content

Commit d7339a2

Browse files
Update unsafe html to lustre 5.0.0
1 parent bc8a3c0 commit d7339a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/website/component.gleam

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,5 +63,5 @@ pub fn text_page(
6363
}
6464

6565
pub fn dangerous_html(html: String) -> Element(a) {
66-
html.span([attribute.attribute("dangerous-unescaped-html", html)], [])
66+
element.unsafe_raw_html("", "span", [], html)
6767
}

0 commit comments

Comments
 (0)