Allow <p> tag in post content

This commit is contained in:
silverpill 2022-10-08 19:15:23 +00:00
parent 9cff428758
commit 5be7802bf1

View file

@ -1,13 +1,14 @@
use crate::errors::ValidationError;
use crate::utils::html::clean_html_strict;
const CONTENT_ALLOWED_TAGS: [&str; 6] = [
const CONTENT_ALLOWED_TAGS: [&str; 7] = [
"a",
"br",
"pre",
"code",
"strong",
"em",
"p",
];
pub fn clean_content(