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:
parent
095b566666
commit
054c87fc04
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user