fix: oops what? it should pass html untouched??

This commit is contained in:
əlemi 2024-05-22 16:43:24 +02:00
parent 54e7ebd905
commit 0c5e664fcc
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -28,7 +28,7 @@ impl Normalizer for super::Context {
// make sure content only contains a safe subset of html // make sure content only contains a safe subset of html
if let Some(content) = object_model.content { 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 // fix context also for remote posts