Special character fix by Happy Fhem User
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1104 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -30,7 +30,7 @@ XmlEscape($)
|
||||
$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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user