[backport] Add h4, h5 and h6 to mdrender allowed tags

remotes/origin/enhancement/email-actions
Jesús Espino 2014-12-29 16:13:56 +01:00
parent e1183deaa6
commit 641505b052
1 changed files with 4 additions and 3 deletions

View File

@ -51,9 +51,10 @@ from .extensions.references import TaigaReferencesExtension
# Bleach configuration
bleach.ALLOWED_TAGS += ["p", "table", "thead", "tbody", "th", "tr", "td", "h1", "h2", "h3",
"div", "pre", "span", "hr", "dl", "dt", "dd", "sup",
"img", "del", "br", "ins"]
bleach.ALLOWED_TAGS += ["p", "table", "thead", "tbody", "th", "tr", "td", "h1",
"h2", "h3", "h4", "h5", "h6", "div", "pre", "span",
"hr", "dl", "dt", "dd", "sup", "img", "del", "br",
"ins"]
bleach.ALLOWED_STYLES.append("background")