2010-10-11 Dario Rodriguez <dario.rodriguez@artica.es>

* 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
This commit is contained in:
darode 2010-10-11 07:44:49 +00:00
parent 6aee8a02a5
commit 4712cb4c35
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2010-10-11 Dario Rodriguez <dario.rodriguez@artica.es>
* include/functions_io.php: Added \s character in decode HTML entities
function.
2010-10-08 Sancho Lerena <slerena@artica.es>
* include/functions_io.php: Added \s character to list of HTML decoded/encoded

View File

@ -120,7 +120,7 @@ function safe_output($value, $utf8 = true)
$valueHtmlEncode = str_replace("&#41;", ')', $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);
}