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