diff --git a/backend/Cargo.toml b/backend/Cargo.toml index 6e3fb03..a5beac3 100644 --- a/backend/Cargo.toml +++ b/backend/Cargo.toml @@ -30,7 +30,7 @@ sqlx = { version = "0.8", features = ["sqlite", "runtime-tokio", "chrono"] } async-compression = { version = "0.4", features = ["tokio", "gzip"] } -askama = "0.13" +askama = "0.14" comrak = "0.38" argon2 = { version = "0.5", features = ["default", "std"] } diff --git a/backend/src/html_templates.rs b/backend/src/html_templates.rs index a0e6d93..1f7ee47 100644 --- a/backend/src/html_templates.rs +++ b/backend/src/html_templates.rs @@ -40,7 +40,10 @@ impl Recipes { mod filters { use askama::filters::Safe; - pub fn markdown(s: T) -> askama::Result> { + pub fn markdown( + s: T, + _: &dyn askama::Values, + ) -> askama::Result> { Ok(Safe(comrak::markdown_to_html( &s.to_string(), &comrak::ComrakOptions::default(),