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
allowed_attributes = {
'*': ['href', 'style', 'src', 'class', 'title', 'loading'],
'*': ['href', 'style', 'src', 'title', 'loading'],
'marquee': sanitize_marquee}
allowed_protocols = ['http', 'https']

View File

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