From c5d4865fdc57d7fb747c78acbe0e54c3e69170a4 Mon Sep 17 00:00:00 2001 From: "Jehan-Guillaume (ioguix) de Rorthais" Date: Wed, 29 Sep 2010 17:52:09 +0200 Subject: [PATCH] Quick Fix on the xloadtree code about bad html specialchars escaping and xml encoding --- classes/Misc.php | 2 +- xloadtree/xtree2.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/Misc.php b/classes/Misc.php index 77e4ca1a..4afcc06e 100644 --- a/classes/Misc.php +++ b/classes/Misc.php @@ -1833,7 +1833,7 @@ header("Content-Type: text/xml"); header("Cache-Control: no-cache"); - echo "\n"; + echo "\n"; echo "\n"; } diff --git a/xloadtree/xtree2.js b/xloadtree/xtree2.js index 6218d785..c7feecbc 100644 --- a/xloadtree/xtree2.js +++ b/xloadtree/xtree2.js @@ -257,7 +257,7 @@ var webFXTreeHandler = { }, textToHtml: function (s) { - return String(s).replace(/&|<|>|\n|\"\u00A0/g, this._textToHtml); + return String(s).replace(/&|<|>|\n|\"|\u00A0/g, this._textToHtml); }, _textToHtml: function (s) { -- 2.39.5