2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

98_SVG.pm: plotReplace fix (Forum #69241)

git-svn-id: https://svn.fhem.de/fhem/trunk@13739 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2017-03-19 19:24:13 +00:00
parent 2578c14a7a
commit c8374fc8fb

View File

@ -770,7 +770,7 @@ SVG_readgplotfile($$$)
foreach my $l (@svgplotfile) {
$l = "$l\n" unless $l =~ m/\n$/;
map { $l =~ s/<$_>/$pr->{$_}/ } keys %$pr if($plotReplace);
map { $l =~ s/<$_>/$pr->{$_}/g } keys %$pr if($plotReplace);
my ($src, $plotfn) = (undef, undef);
if($l =~ m/^#([^ ]*) (.*)$/) {
if($1 eq $ldType) {