Merge pull request #367 from taigaio/issue/2518/wiki-toc-links

Allow to include id attributes in the elements (to allow anchor links)
remotes/origin/enhancement/email-actions
Alejandro 2015-06-24 00:05:39 -07:00
commit fec2bf142c
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):