Unescape last message (#3623)

This commit is contained in:
missionfloyd 2023-08-19 06:29:08 -06:00 committed by GitHub
parent 942ad6067d
commit 1cae784761
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -313,12 +313,12 @@ def remove_last_message(history):
else:
last = ['', '']
return last[0], history
return html.unescape(last[0]), history
def send_last_reply_to_input(history):
if len(history['visible']) > 0:
return history['visible'][-1][1]
return html.unescape(history['visible'][-1][1])
else:
return ''