From fd69dce0ae3eb96879de147e602d0631bb689bb3 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Tue, 6 Nov 2018 23:06:05 -0500 Subject: [PATCH] Fixed word wrapping of non-breaking space words by only replacing double spaces --- mainwindow.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index e4f13f0..6cc0388 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -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("%1").arg(text);