Replace \r\n before \n in LogView
This commit is contained in:
parent
847765e935
commit
1fa446406d
|
@ -343,8 +343,8 @@ void LogView::addMsgToLogSlotRaw(QByteArray msg, bool encodeHTML)
|
|||
}
|
||||
else
|
||||
{
|
||||
msgUtf16.replace(QChar('\n'), QString("<br/>\n"));
|
||||
msgUtf16.replace(QString("\r\n"), QString("<br/>\n"));
|
||||
msgUtf16.replace(QChar('\n'), QString("<br/>\n"));
|
||||
}
|
||||
if(encodeHTML)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue