diff --git a/fhem/FHEM/98_SVG.pm b/fhem/FHEM/98_SVG.pm index fbf2fc914..9f9809662 100755 --- a/fhem/FHEM/98_SVG.pm +++ b/fhem/FHEM/98_SVG.pm @@ -116,7 +116,7 @@ SVG_FwDetail($@) my $ret = ($nobr ? "" : "
"); $ret .= "$text " if($text); - $ret .= FW_pHPlain("detail=$d", $alias) if(!$FW_subdir); + $ret .= FW_pH("detail=$d", $alias,0, "SVGlabel SVG_$d", 1,0) if(!$FW_subdir); $ret .= "
"; return $ret; } @@ -182,7 +182,7 @@ SVG_FwFn($$$$) if(AttrVal($d,"plotmode",$FW_plotmode) eq "SVG") { my ($w, $h) = split(",", AttrVal($d,"plotsize",$FW_plotsize)); - $ret .= "
"; + $ret .= "
"; if(AttrVal($FW_wname, "plotEmbed", $FW_userAgent !~ m/(iPhone|iPad|iPod).*OS (8|9)/)) {