forked from rDrama/rDrama
fds
parent
1b8d9658ab
commit
50b1ed8aa0
|
@ -253,6 +253,7 @@ def sanitize(sanitized, alert=False, comment=False, edit=False):
|
||||||
sanitized = sanitized.replace('#factcheck', '')
|
sanitized = sanitized.replace('#factcheck', '')
|
||||||
sanitized += '\n\n<p>' + choice(FACTCHECK_REPLIES) + '</p>'
|
sanitized += '\n\n<p>' + choice(FACTCHECK_REPLIES) + '</p>'
|
||||||
|
|
||||||
|
sanitized = sanitized.replace('<p></p>', '')
|
||||||
sanitized = sanitized.replace('&','&')
|
sanitized = sanitized.replace('&','&')
|
||||||
sanitized = utm_regex.sub('', sanitized)
|
sanitized = utm_regex.sub('', sanitized)
|
||||||
sanitized = utm_regex2.sub('', sanitized)
|
sanitized = utm_regex2.sub('', sanitized)
|
||||||
|
|
Loading…
Reference in New Issue