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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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