Replace CR for html string

This commit is contained in:
Klaus Basan
2017-06-24 23:44:20 +02:00
parent 417496024e
commit b50071fa3c

View File

@@ -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();