mirror of
https://github.com/Garmelon/Arbeitszeitdokumentationsgenerator.git
synced 2026-04-12 08:45:05 +02:00
Fix CSS being escaped
This commit is contained in:
parent
6507276488
commit
ee40d1f970
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
use maud::{html, Markup};
|
use maud::{html, Markup, PreEscaped};
|
||||||
use time::{macros::format_description, Date, OffsetDateTime};
|
use time::{macros::format_description, Date, OffsetDateTime};
|
||||||
|
|
||||||
use crate::endpoints::page;
|
use crate::endpoints::page;
|
||||||
|
|
@ -10,7 +10,7 @@ pub async fn get() -> Markup {
|
||||||
|
|
||||||
page(
|
page(
|
||||||
html! {
|
html! {
|
||||||
style { (include_str!("base.css")) }
|
style { (PreEscaped(include_str!("base.css"))) }
|
||||||
},
|
},
|
||||||
html! {
|
html! {
|
||||||
form {
|
form {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue