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:
parent
6aee8a02a5
commit
4712cb4c35
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue