mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
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
d9490249ca
commit
2b5ec9c4f2
@ -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…
x
Reference in New Issue
Block a user