mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
Fix asset escaping
This commit is contained in:
parent
27f8efb21b
commit
c74034f17d
1 changed files with 2 additions and 2 deletions
|
@ -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)))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue