mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-12 08:16:06 -07:00
Don't sanitize tags for Slack and Discord
This commit is contained in:
parent
3c81100957
commit
f5e341e655
1 changed files with 2 additions and 2 deletions
|
@ -980,8 +980,8 @@ def strip_tag(data, agent_id=None):
|
|||
'font': ['color']}
|
||||
return bleach.clean(data, tags=whitelist.keys(), attributes=whitelist, strip=True)
|
||||
|
||||
elif agent_id == 10:
|
||||
# Don't remove tags for email
|
||||
elif agent_id in (10, 14, 20):
|
||||
# Don't remove tags for Email, Slack, and Discord
|
||||
return data
|
||||
|
||||
elif agent_id == 13:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue