parent
83415362b5
commit
c3ae481048
|
@ -249,6 +249,10 @@ def sanitize(sanitized, alert=False, comment=False, edit=False):
|
|||
sanitized = sanitized.replace('#fortune', '')
|
||||
sanitized += '\n\n<p>' + choice(FORTUNE_REPLIES) + '</p>'
|
||||
|
||||
if '#factcheck' in sanitized:
|
||||
sanitized = sanitized.replace('#factcheck', '')
|
||||
sanitized += '\n\n<p>' + choice(FACTCHECK_REPLIES) + '</p>'
|
||||
|
||||
sanitized = sanitized.replace('&','&')
|
||||
sanitized = utm_regex.sub('', sanitized)
|
||||
sanitized = utm_regex2.sub('', sanitized)
|
||||
|
|
Loading…
Reference in New Issue