98_SVG.pm: remove \r from .gplot file (Forum #140585)
git-svn-id: https://svn.fhem.de/fhem/trunk@29644 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -820,6 +820,7 @@ SVG_readgplotfile($$$)
|
||||
};
|
||||
|
||||
foreach my $l (@svgplotfile) {
|
||||
$l =~ s/\r//g;
|
||||
$l = "$l\n" unless $l =~ m/\n$/;
|
||||
|
||||
map { $l =~ s/%($_)%/&$prSubst($1)/ge } keys %$pr if($plotReplace);
|
||||
|
||||
Reference in New Issue
Block a user