escape & in HTML messages.
This commit is contained in:
parent
f11c1b226a
commit
0b7f2c3fe7
1 changed files with 1 additions and 0 deletions
|
@ -217,6 +217,7 @@ class MessageTextView(gtk.TextView):
|
||||||
def xhtml_special(text):
|
def xhtml_special(text):
|
||||||
text = text.replace('<', '<')
|
text = text.replace('<', '<')
|
||||||
text = text.replace('>', '>')
|
text = text.replace('>', '>')
|
||||||
|
text = text.replace('&', '&')
|
||||||
text = text.replace('\n', '<br />')
|
text = text.replace('\n', '<br />')
|
||||||
return text
|
return text
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue