don't insert <br> when displaying as HTML
This commit is contained in:
parent
af87503ec7
commit
6150a782f9
|
@ -4603,7 +4603,7 @@ class MyForm(QtGui.QMainWindow):
|
|||
lines[i] = '<hr>'
|
||||
content = ''
|
||||
for i in xrange(len(lines)):
|
||||
content += lines[i] + '<br>'
|
||||
content += lines[i]
|
||||
content = content.replace('\n\n', '<br><br>')
|
||||
self.ui.textEditInboxMessage.setHtml(QtCore.QString(content))
|
||||
|
||||
|
|
Reference in New Issue
Block a user