From 0291de6ea86289dcdd4e3c2a46d90388f83cdde2 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 13 Nov 2011 11:19:41 +0000 Subject: [PATCH] Special character fix by Happy Fhem User git-svn-id: https://svn.fhem.de/fhem/trunk@1104 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/99_XmlList.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/99_XmlList.pm b/fhem/FHEM/99_XmlList.pm index d2f752b2f..5b4cc6220 100644 --- a/fhem/FHEM/99_XmlList.pm +++ b/fhem/FHEM/99_XmlList.pm @@ -30,7 +30,7 @@ XmlEscape($) $a =~ s/"/"/g; $a =~ s//>/g; - $a =~ s/([^ -~])/sprintf("#%02x;", ord($1))/ge; + $a =~ s/([^ -~])/sprintf("&#%02x;", ord($1))/ge; return $a; }