Allow to include id attributes in the elements (to allow anchor links)

remotes/origin/enhancement/email-actions
Jesús Espino 2015-06-23 19:22:47 +02:00
parent 8efeb406fd
commit 79c079d2cb
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ bleach.ALLOWED_STYLES.append("background")
bleach.ALLOWED_ATTRIBUTES["a"] = ["href", "title", "alt", "target"] bleach.ALLOWED_ATTRIBUTES["a"] = ["href", "title", "alt", "target"]
bleach.ALLOWED_ATTRIBUTES["img"] = ["alt", "src"] bleach.ALLOWED_ATTRIBUTES["img"] = ["alt", "src"]
bleach.ALLOWED_ATTRIBUTES["*"] = ["class", "style"] bleach.ALLOWED_ATTRIBUTES["*"] = ["class", "style", "id"]
def _make_extensions_list(project=None): def _make_extensions_list(project=None):