From 0c5e664fcc16b61f3200ef4349dc270dd031f1e2 Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 22 May 2024 16:43:24 +0200 Subject: [PATCH] fix: oops what? it should pass html untouched?? --- src/server/normalizer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/normalizer.rs b/src/server/normalizer.rs index f9e55a7..88f5c57 100644 --- a/src/server/normalizer.rs +++ b/src/server/normalizer.rs @@ -28,7 +28,7 @@ impl Normalizer for super::Context { // make sure content only contains a safe subset of html if let Some(content) = object_model.content { - object_model.content = Some(mdhtml::safe_markdown(&content)); + object_model.content = Some(mdhtml::safe_html(&content)); } // fix context also for remote posts