mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
Special character fix by Happy Fhem User
git-svn-id: https://svn.fhem.de/fhem/trunk@1104 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0bcecbfd3b
commit
0291de6ea8
@ -30,7 +30,7 @@ XmlEscape($)
|
|||||||
$a =~ s/"/"/g;
|
$a =~ s/"/"/g;
|
||||||
$a =~ s/</</g;
|
$a =~ s/</</g;
|
||||||
$a =~ s/>/>/g;
|
$a =~ s/>/>/g;
|
||||||
$a =~ s/([^ -~])/sprintf("#%02x;", ord($1))/ge;
|
$a =~ s/([^ -~])/sprintf("&#%02x;", ord($1))/ge;
|
||||||
return $a;
|
return $a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user