diff --git a/FHEM/98_SVG.pm b/FHEM/98_SVG.pm index 13709d8ca..9cb3aba5a 100644 --- a/FHEM/98_SVG.pm +++ b/FHEM/98_SVG.pm @@ -366,6 +366,8 @@ SVG_PEdit($$$$) return "" if( $pe eq 'never' ); my $gpf = $defs{$d}{GPLOTFILE}; + my $gpfEsc = $gpf; + $gpfEsc =~ s,\.,\\\\.,g; my $link = "$FW_ME?cmd=style edit $gpf.gplot". (configDBUsed() ? " configDB" : "").$FW_CSRF; my $gp = "$FW_gplotdir/$gpf.gplot"; @@ -570,9 +572,9 @@ EOF }); }); setTimeout(function(){ - \$("table.internals div[informid=$gpf-GPLOTFILE]").each(function(){ - \$(this).html("$gpf"); - }) }, 10); + \$("table.internals div[informid=$gpfEsc-GPLOTFILE]") + .html("$gpf"); + }, 10); EOF return $ret;