mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-06-30 06:12:11 -06:00
Space substitution is taken into account when converting to html
This commit is contained in:
parent
705cddaa46
commit
05971a6c5a
1 changed files with 1 additions and 0 deletions
|
|
@ -89,6 +89,7 @@ wxString escapeHtml(wxString text, bool pre) {
|
|||
text.Replace("&", "&");
|
||||
text.Replace("<", "<");
|
||||
text.Replace(">", ">");
|
||||
text.Replace(" ", " ");
|
||||
if (!pre) text.Replace("\n", "<br>");
|
||||
return text;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue