Merge pull request #113 from Atheros1/master

don't insert <br> when displaying as HTML
This commit is contained in:
Jonathan Warren 2013-04-06 09:05:41 -07:00
commit e9641e584e

View File

@ -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))