98_XmlList.pm: Chrome wont accept ctrl-f in attribtue value. Forum #37955
git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@9188 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user