mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-13 08:29:32 -05:00
add space after quoting sign
This commit is contained in:
parent
fc0cfc0f2d
commit
328168d9a7
@ -1738,9 +1738,9 @@ void ChatWidget::quote()
|
|||||||
if(text.length() > 0)
|
if(text.length() > 0)
|
||||||
{
|
{
|
||||||
QStringList sl = text.split(QRegExp("[\r\n]"),QString::SkipEmptyParts);
|
QStringList sl = text.split(QRegExp("[\r\n]"),QString::SkipEmptyParts);
|
||||||
text = sl.join("\n>");
|
text = sl.join("\n> ");
|
||||||
text.replace(QChar(-4),"");//Char used when image on text.
|
text.replace(QChar(-4)," ");//Char used when image on text.
|
||||||
emit ui->chatTextEdit->append(QString(">") + text);
|
emit ui->chatTextEdit->append(QString("> ") + text);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1187,9 +1187,9 @@ QString RsHtml::makeQuotedText(RSTextBrowser *browser)
|
|||||||
text = browser->toPlainText();
|
text = browser->toPlainText();
|
||||||
}
|
}
|
||||||
QStringList sl = text.split(QRegExp("[\r\n]"),QString::SkipEmptyParts);
|
QStringList sl = text.split(QRegExp("[\r\n]"),QString::SkipEmptyParts);
|
||||||
text = sl.join("\n>");
|
text = sl.join("\n> ");
|
||||||
text.replace(QChar(-4),"");//Char used when image on text.
|
text.replace(QChar(-4)," ");//Char used when image on text.
|
||||||
return QString(">") + text;
|
return QString("> ") + text;
|
||||||
}
|
}
|
||||||
|
|
||||||
void RsHtml::insertSpoilerText(QTextCursor cursor)
|
void RsHtml::insertSpoilerText(QTextCursor cursor)
|
||||||
|
Loading…
Reference in New Issue
Block a user