Fix escape_html
This commit is contained in:
parent
489dccaa4e
commit
a9ed7aa159
|
@ -9,9 +9,9 @@ from emoji import emojize
|
|||
|
||||
|
||||
def escape_html(message):
|
||||
return re.sub("&", "&",
|
||||
return re.sub("<", "<",
|
||||
re.sub(">", "&rt;",
|
||||
re.sub("<", "<", message)))
|
||||
re.sub("&", "&", message)))
|
||||
|
||||
|
||||
def get(db):
|
||||
|
|
Loading…
Reference in New Issue