mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 07:19:24 +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:
parent
2578c14a7a
commit
c8374fc8fb
@ -770,7 +770,7 @@ SVG_readgplotfile($$$)
|
|||||||
|
|
||||||
foreach my $l (@svgplotfile) {
|
foreach my $l (@svgplotfile) {
|
||||||
$l = "$l\n" unless $l =~ m/\n$/;
|
$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);
|
my ($src, $plotfn) = (undef, undef);
|
||||||
if($l =~ m/^#([^ ]*) (.*)$/) {
|
if($l =~ m/^#([^ ]*) (.*)$/) {
|
||||||
if($1 eq $ldType) {
|
if($1 eq $ldType) {
|
||||||
|
Loading…
Reference in New Issue
Block a user