mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 00:16:51 +08:00
Replace CR for html string
This commit is contained in:
@@ -189,7 +189,9 @@ namespace BlackMisc
|
||||
|
||||
for (const CPropertyIndex &index : usedIndexes)
|
||||
{
|
||||
rowHtml += QLatin1String("<td>") % statusMessage.propertyByIndex(index).toQString(true).toHtmlEscaped() % QLatin1String("</td>");
|
||||
rowHtml += QLatin1String("<td>") %
|
||||
statusMessage.propertyByIndex(index).toQString(true).toHtmlEscaped().replace('\n', "<br>") %
|
||||
QLatin1String("</td>");
|
||||
}
|
||||
|
||||
const QString severityClass = statusMessage.getSeverityAsString();
|
||||
|
||||
Reference in New Issue
Block a user