fix: allow dangerous HTML in link exists exception (#37677)
* fix: allow dangerous HTML in link exists exception * fix: Allow `a` tags * Revert "fix: allow dangerous HTML in link exists exception" This reverts commit 9a37f5092ed6c27ff6a0c427df6494561e971ac3. --------- Co-authored-by: Ankush Menat <ankush@frappe.io>
This commit is contained in:
parent
a1977920c8
commit
cfc2007f65
1 changed files with 1 additions and 0 deletions
|
|
@ -44,6 +44,7 @@ def clean_html(html):
|
|||
"tbody",
|
||||
"td",
|
||||
"tr",
|
||||
"a",
|
||||
},
|
||||
clean_content_tags=REMOVE_CONTENT_TAGS,
|
||||
strip_comments=True,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue