mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
xmllist fixes
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@89 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
fd104de3d8
commit
e9b4bd2637
1
CHANGED
1
CHANGED
@ -342,3 +342,4 @@
|
|||||||
- ==DATE== (4.2)
|
- ==DATE== (4.2)
|
||||||
- feature: added archivedir/archivecmd to the the main logfile
|
- feature: added archivedir/archivecmd to the the main logfile
|
||||||
- feature: 99_Sunrise_EL.pm (does not need any Date modules)
|
- feature: 99_Sunrise_EL.pm (does not need any Date modules)
|
||||||
|
- bugfix: Seldom xmllist error resulting in corrupt xml (Martin/Peter, 4.9)
|
||||||
|
4
fhem.pl
4
fhem.pl
@ -134,7 +134,7 @@ my %intAt; # Internal at timer hash.
|
|||||||
my $intAtCnt=0;
|
my $intAtCnt=0;
|
||||||
my $reread_active = 0;
|
my $reread_active = 0;
|
||||||
my $AttrList = "room comment";
|
my $AttrList = "room comment";
|
||||||
my $cvsid = '$Id: fhem.pl,v 1.23 2007-08-06 18:17:28 rudolfkoenig Exp $';
|
my $cvsid = '$Id: fhem.pl,v 1.24 2007-09-08 11:15:40 rudolfkoenig Exp $';
|
||||||
|
|
||||||
$init_done = 0;
|
$init_done = 0;
|
||||||
|
|
||||||
@ -1064,7 +1064,7 @@ XmlEscape($)
|
|||||||
$a =~ s/"/"/g;
|
$a =~ s/"/"/g;
|
||||||
$a =~ s/</</g;
|
$a =~ s/</</g;
|
||||||
$a =~ s/>/>/g;
|
$a =~ s/>/>/g;
|
||||||
$a =~ s/°/&#b0;/g;
|
$a =~ s/([^ -~])/sprintf("#%02x;", ord($1))/ge;
|
||||||
return $a;
|
return $a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user