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 b5d84408fc
commit e03672d7e0
1 changed files with 4 additions and 3 deletions

View File

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