diff --git a/retroshare-gui/src/gui/chat/ChatWidget.cpp b/retroshare-gui/src/gui/chat/ChatWidget.cpp index cfde6a028..44bd9c426 100644 --- a/retroshare-gui/src/gui/chat/ChatWidget.cpp +++ b/retroshare-gui/src/gui/chat/ChatWidget.cpp @@ -1738,9 +1738,9 @@ void ChatWidget::quote() if(text.length() > 0) { QStringList sl = text.split(QRegExp("[\r\n]"),QString::SkipEmptyParts); - text = sl.join("\n>"); - text.replace(QChar(-4),"");//Char used when image on text. - emit ui->chatTextEdit->append(QString(">") + text); + text = sl.join("\n> "); + text.replace(QChar(-4)," ");//Char used when image on text. + emit ui->chatTextEdit->append(QString("> ") + text); } } diff --git a/retroshare-gui/src/util/HandleRichText.cpp b/retroshare-gui/src/util/HandleRichText.cpp index f8299687a..73801bd5b 100644 --- a/retroshare-gui/src/util/HandleRichText.cpp +++ b/retroshare-gui/src/util/HandleRichText.cpp @@ -1187,9 +1187,9 @@ QString RsHtml::makeQuotedText(RSTextBrowser *browser) text = browser->toPlainText(); } QStringList sl = text.split(QRegExp("[\r\n]"),QString::SkipEmptyParts); - text = sl.join("\n>"); - text.replace(QChar(-4),"");//Char used when image on text. - return QString(">") + text; + text = sl.join("\n> "); + text.replace(QChar(-4)," ");//Char used when image on text. + return QString("> ") + text; } void RsHtml::insertSpoilerText(QTextCursor cursor)