mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-24 21:34:51 +00:00
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:
parent
0089ba46ed
commit
22c0c3457b
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user