forbid mentions in sigs
This commit is contained in:
@@ -252,7 +252,7 @@ def should_collapse(text, surrounding):
|
||||
def sanitize(s):
|
||||
return escape(s.strip().replace('\r\n', '\n').replace('\r', '\n'))
|
||||
|
||||
def babycode_to_html(s, banned_tags={}):
|
||||
def babycode_to_html(s, banned_tags=[]):
|
||||
allowed_tags = set(TAGS.keys())
|
||||
if banned_tags is not None:
|
||||
for tag in banned_tags:
|
||||
|
||||
Reference in New Issue
Block a user