don't insert <br> when displaying as HTML #113

Merged
Atheros1 merged 1 commits from master into master 2013-04-06 18:05:41 +02:00

View File

@ -4603,7 +4603,7 @@ class MyForm(QtGui.QMainWindow):
lines[i] = '<hr>' lines[i] = '<hr>'
content = '' content = ''
for i in xrange(len(lines)): for i in xrange(len(lines)):
content += lines[i] + '<br>' content += lines[i]
content = content.replace('\n\n', '<br><br>') content = content.replace('\n\n', '<br><br>')
self.ui.textEditInboxMessage.setHtml(QtCore.QString(content)) self.ui.textEditInboxMessage.setHtml(QtCore.QString(content))