From 7af28c08ddf23c1c597710fe0434327f65eae40e Mon Sep 17 00:00:00 2001 From: "Matteo Nastasi (mop)" Date: Tue, 10 Dec 2013 16:40:41 +0100 Subject: [PATCH] esclfhtml: add space to nbsp conversion --- web/Obj/brisk.phh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/Obj/brisk.phh b/web/Obj/brisk.phh index 2042aec..5fb98fb 100644 --- a/web/Obj/brisk.phh +++ b/web/Obj/brisk.phh @@ -395,7 +395,7 @@ function eschtml($s) function esclfhtml($s) { - return str_replace("\n", "
", htmlspecialchars($s)); + return str_replace(" ", " ", str_replace("\n", "
", htmlspecialchars($s))); } function langtolng($lang) -- 2.17.1