Fixed special characters

This commit is contained in:
Daniel Maya 2020-10-29 17:22:02 +01:00
parent 495decdf5f
commit 785e187f5c

View File

@ -116,6 +116,13 @@ function io_safe_input($value)
// TICKET: 1223
$valueHtmlEncode = str_replace('°', '°', $valueHtmlEncode);
// Fixed the ¿ charater.
$valueHtmlEncode = str_replace('¿', '¿', $valueHtmlEncode);
// Fixed the ¡ charater.
$valueHtmlEncode = str_replace('¡', '¡', $valueHtmlEncode);
// Fixed the € charater.
$valueHtmlEncode = str_replace('€', '€', $valueHtmlEncode);
// Replace some characteres for html entities
for ($i = 0; $i < 33; $i++) {
$valueHtmlEncode = str_ireplace(