Commit de92516d authored by Nikita Sirgienko's avatar Nikita Sirgienko

Fix bug with merging consecutive spaces

BUG: 405941
FIXED-IN: 19.04
parent 106a1571
......@@ -61,6 +61,7 @@ QString TextResult::toHtml()
{
QString s=d->data.toHtmlEscaped();
s.replace(QLatin1Char('\n'), QLatin1String("<br/>\n"));
s.replace(QLatin1Char(' '), QLatin1String("&nbsp;"));
return s;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment