1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07:46 +00:00

Fix asset escaping

This commit is contained in:
RGBCube 2023-12-31 19:15:01 +03:00
parent 27f8efb21b
commit c74034f17d
No known key found for this signature in database

View file

@ -27,7 +27,7 @@ impl Render for Js {
Self::Owned(content) => {
html! {
script {
(minify::js(content))
(PreEscaped(minify::js(content)))
}
}
},
@ -61,7 +61,7 @@ impl Render for Css {
Self::Owned(content) => {
html! {
style {
(minify::css(content))
(PreEscaped(minify::css(content)))
}
}
},