Added degree in io_safe_input

This commit is contained in:
Daniel Maya 2017-09-08 12:39:00 +02:00
parent 2689213fdf
commit 1a56c78808
1 changed files with 3 additions and 2 deletions

View File

@ -102,14 +102,15 @@ function io_safe_input($value) {
// Replace ( for the html entitie
$valueHtmlEncode = str_replace(')', ")", $valueHtmlEncode);
$valueHtmlEncode = str_replace(')', ")", $valueHtmlEncode);
// Fixed the º character, because the Perl in the Pandora Server
// use the hex value instead the human readble.
// TICKET: #1495
$valueHtmlEncode = str_replace('º', "º", $valueHtmlEncode);
// Fixed the ° character.
// TICKET: 1223
$valueHtmlEncode = str_replace('°', "°", $valueHtmlEncode);
//Replace some characteres for html entities