2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-25 03:44:52 +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:
rudolfkoenig 2025-02-09 14:18:02 +00:00
parent 0089ba46ed
commit 22c0c3457b

View File

@ -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);