1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-08-01 13:37:49 +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) => { Self::Owned(content) => {
html! { html! {
script { script {
(minify::js(content)) (PreEscaped(minify::js(content)))
} }
} }
}, },
@ -61,7 +61,7 @@ impl Render for Css {
Self::Owned(content) => { Self::Owned(content) => {
html! { html! {
style { style {
(minify::css(content)) (PreEscaped(minify::css(content)))
} }
} }
}, },