escape previous message in last message correction tooltip. Fixes #7453
This commit is contained in:
parent
841c774d23
commit
c0c965e2ca
1 changed files with 2 additions and 2 deletions
|
@ -474,7 +474,7 @@ class ConversationTextview(GObject.GObject):
|
|||
i2 = self.print_conversation_line(message, '', 'outgoing', name, None,
|
||||
xhtml=xhtml, iter_=i1)
|
||||
tt_txt = _('<b>Message was corrected. Last message was:</b>\n %s') % \
|
||||
old_txt
|
||||
GLib.markup_escape_text(old_txt)
|
||||
self.show_corrected_message_warning(i2, tt_txt)
|
||||
self.last_sent_message_marks[1] = buffer_.create_mark(None, i2,
|
||||
left_gravity=True)
|
||||
|
@ -492,7 +492,7 @@ class ConversationTextview(GObject.GObject):
|
|||
i2 = self.print_conversation_line(message, '', 'incoming', name, None,
|
||||
xhtml=xhtml, iter_=i1)
|
||||
tt_txt = _('<b>Message was corrected. Last message was:</b>\n %s') % \
|
||||
old_txt
|
||||
GLib.markup_escape_text(old_txt)
|
||||
self.show_corrected_message_warning(i2, tt_txt)
|
||||
self.last_received_message_marks[name][1] = buffer_.create_mark(None, i2,
|
||||
left_gravity=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue