From 4712cb4c3508ca9144a7a9de216ae23fc658ab99 Mon Sep 17 00:00:00 2001 From: darode Date: Mon, 11 Oct 2010 07:44:49 +0000 Subject: [PATCH] 2010-10-11 Dario Rodriguez * include/functions_io.php: Added \s character in decode HTML entities function. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3378 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/include/functions_io.php | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 6374b7790d..413601ac72 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2010-10-11 Dario Rodriguez + + * include/functions_io.php: Added \s character in decode HTML entities + function. + 2010-10-08 Sancho Lerena * include/functions_io.php: Added \s character to list of HTML decoded/encoded diff --git a/pandora_console/include/functions_io.php b/pandora_console/include/functions_io.php index 871e9fb751..7ed9f769cd 100755 --- a/pandora_console/include/functions_io.php +++ b/pandora_console/include/functions_io.php @@ -120,7 +120,7 @@ function safe_output($value, $utf8 = true) $valueHtmlEncode = str_replace(")", ')', $valueHtmlEncode); //Revert html entities to chars - for ($i=0;$i<32;$i++) { + for ($i=0;$i<33;$i++) { $valueHtmlEncode = str_ireplace("&#x".dechex($i).";",html_to_ascii(dechex($i)), $valueHtmlEncode); }