tre\
parent
78dc8746ca
commit
312a6b75f7
|
@ -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']
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue