From 05971a6c5af6fb85b5f5faee5f0f1d376a05b7f7 Mon Sep 17 00:00:00 2001 From: lsv Date: Thu, 11 Jun 2026 09:45:41 +0500 Subject: [PATCH] Space substitution is taken into account when converting to html --- utils/misc.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/utils/misc.cpp b/utils/misc.cpp index 0e70b3b..08381b0 100644 --- a/utils/misc.cpp +++ b/utils/misc.cpp @@ -89,6 +89,7 @@ wxString escapeHtml(wxString text, bool pre) { text.Replace("&", "&"); text.Replace("<", "<"); text.Replace(">", ">"); + text.Replace(" ", " "); if (!pre) text.Replace("\n", "
"); return text; }