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
commit
fec2bf142c
|
@ -61,7 +61,7 @@ bleach.ALLOWED_STYLES.append("background")
|
|||
|
||||
bleach.ALLOWED_ATTRIBUTES["a"] = ["href", "title", "alt", "target"]
|
||||
bleach.ALLOWED_ATTRIBUTES["img"] = ["alt", "src"]
|
||||
bleach.ALLOWED_ATTRIBUTES["*"] = ["class", "style"]
|
||||
bleach.ALLOWED_ATTRIBUTES["*"] = ["class", "style", "id"]
|
||||
|
||||
|
||||
def _make_extensions_list(project=None):
|
||||
|
|
Loading…
Reference in New Issue