2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-08 13:24:56 +00:00

98_XmlList.pm: Chrome wont accept ctrl-f in attribtue value. Forum #37955

git-svn-id: https://svn.fhem.de/fhem/trunk@9188 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-09-01 10:33:31 +00:00
parent 095b566666
commit 054c87fc04

View File

@ -33,7 +33,7 @@ XmlEscape($)
# Not needed since we've gone UTF-8
# $a =~ s/([^ -~])/sprintf("&#%02x;", ord($1))/ge;
# Esacape characters 0-31, as they are not part of UTF-8
$a =~ s/(\x00-\x19)//g;
$a =~ s/([\x00-\x07])//ge; # Forum #37955. Chrome wont accept 5 & 6.
return $a;
}