mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-07 22:29:19 +00:00
98_SVG.pm: plotReplace fix (Forum #69241)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@13739 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
4aa5464016
commit
57a7ed6232
@ -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…
x
Reference in New Issue
Block a user