diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 6c09f0aa6..4aa23b51d 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -227,6 +227,7 @@ QString HtmlEscape(const QString& str, bool fMultiLine) #else QString escaped = str.toHtmlEscaped(); #endif + escaped = escaped.replace(" ", " "); if(fMultiLine) { escaped = escaped.replace("\n", "
\n"); diff --git a/src/qt/rpcconsole.cpp b/src/qt/rpcconsole.cpp index 5ad6d2b1b..6bba62620 100644 --- a/src/qt/rpcconsole.cpp +++ b/src/qt/rpcconsole.cpp @@ -324,7 +324,7 @@ void RPCConsole::clear() ui->messagesWidget->document()->setDefaultStyleSheet( "table { }" "td.time { color: #808080; padding-top: 3px; } " - "td.message { font-family: monospace; font-size: 12px; } " // Todo: Remove fixed font-size + "td.message { font-family: Courier, Courier New, Lucida Console, monospace; font-size: 12px; } " // Todo: Remove fixed font-size "td.cmd-request { color: #006060; } " "td.cmd-error { color: red; } " "b { color: #006060; } "