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:
Kerolles Fathy 2026-03-02 11:00:43 +02:00 committed by GitHub
parent a1977920c8
commit cfc2007f65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,6 +44,7 @@ def clean_html(html):
"tbody",
"td",
"tr",
"a",
},
clean_content_tags=REMOVE_CONTENT_TAGS,
strip_comments=True,