mirror of
https://github.com/RGBCube/Site
synced 2025-07-31 13:07:46 +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) => {
|
||||
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)))
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue