remotes/1693045480750635534/spooky-22
Aevann1 2022-03-28 12:06:57 +02:00
parent 78dc8746ca
commit 312a6b75f7
2 changed files with 6 additions and 6 deletions

View File

@ -95,7 +95,7 @@ def sanitize_marquee(tag, name, value):
return False return False
allowed_attributes = { allowed_attributes = {
'*': ['href', 'style', 'src', 'class', 'title', 'loading'], '*': ['href', 'style', 'src', 'title', 'loading'],
'marquee': sanitize_marquee} 'marquee': sanitize_marquee}
allowed_protocols = ['http', 'https'] allowed_protocols = ['http', 'https']

View File

@ -51,11 +51,11 @@ def speak(data, v):
data={ data={
"avatar": v.profile_url, "avatar": v.profile_url,
"username":v.username, "username": v.username,
"namecolor":v.namecolor, "namecolor": v.namecolor,
"text":text, "text": text,
"text_html":text_html, "text_html": text_html,
"text_censored":censor_slurs(text_html, 'chat') "text_censored": censor_slurs(text_html, 'chat')
} }
if v.shadowbanned: if v.shadowbanned: