forked from alemi/upub
fix: oops what? it should pass html untouched??
This commit is contained in:
parent
54e7ebd905
commit
0c5e664fcc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue