Fixed word wrapping of non-breaking space words by only replacing double spaces

This commit is contained in:
Jordan Sherer 2018-11-06 23:06:05 -05:00
parent b2fb3f31ac
commit fd69dce0ae

View File

@ -5170,7 +5170,6 @@ int MainWindow::writeMessageTextToUI(QDateTime date, QString text, int freq, boo
c.insertText(text);
} else {
text = text.toHtmlEscaped();
text = text.replace(" ", "   ");
text = text.replace(" ", "  ");
if(bold){
text = QString("<strong>%1</strong>").arg(text);