Quoting fixes
Message compose sometimes misinterpreted quoted message as HTML, causing rendering screwups. Since we don't support HTML composing, we will treat all quoted messages as plain text.
This commit is contained in:
parent
2597ac63f6
commit
484bdb0782
|
@ -3086,7 +3086,7 @@ class MyForm(settingsmixin.SMainWindow):
|
||||||
widget['from'].setCurrentIndex(0)
|
widget['from'].setCurrentIndex(0)
|
||||||
|
|
||||||
quotedText = self.quoted_text(unicode(messageAtCurrentInboxRow, 'utf-8', 'replace'))
|
quotedText = self.quoted_text(unicode(messageAtCurrentInboxRow, 'utf-8', 'replace'))
|
||||||
widget['message'].setText(quotedText)
|
widget['message'].setPlainText(quotedText)
|
||||||
if acct.subject[0:3] in ['Re:', 'RE:']:
|
if acct.subject[0:3] in ['Re:', 'RE:']:
|
||||||
widget['subject'].setText(tableWidget.item(currentInboxRow, 2).label)
|
widget['subject'].setText(tableWidget.item(currentInboxRow, 2).label)
|
||||||
else:
|
else:
|
||||||
|
|
Reference in New Issue
Block a user