Skip to content

Commit 0daa74b

Browse files
committed
[QT] pretty print (indent) multiline html output
1 parent d479311 commit 0daa74b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/qt/guiutil.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,7 @@ QString HtmlEscape(const QString& str, bool fMultiLine)
243243
if(fMultiLine)
244244
{
245245
escaped = escaped.replace("\n", "<br>\n");
246+
escaped = escaped.replace(" ", "&nbsp;");
246247
}
247248
return escaped;
248249
}

0 commit comments

Comments
 (0)