Map newlines to html <br> tags on CloudDB chart descriptions

When displayed on tableWidget, newlines are already preserved
across cloudDB interactions.
Fixes #3286
This commit is contained in:
Ale Martinez
2020-01-05 13:39:47 -03:00
parent f385831d5e
commit 9e16d1dbf0

View File

@@ -1197,6 +1197,9 @@ CloudDBChartListDialog::encodeHTML ( const QString& encodeMe )
case '>':
temp += "&gt;"; break;
case '\n':
temp += "<br>"; break;
default:
temp += character;
break;