From e13436fad534b2e7c6ad0cf439b37b3bacba1d23 Mon Sep 17 00:00:00 2001 From: rudolfkoenig <> Date: Sun, 29 Apr 2018 22:36:01 +0000 Subject: [PATCH] 01_FHEMWEB.pm: remove HTML tags from the title Attribute (Forum #87372) git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@16677 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- FHEM/01_FHEMWEB.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FHEM/01_FHEMWEB.pm b/FHEM/01_FHEMWEB.pm index 46de6dd90..377389c2d 100644 --- a/FHEM/01_FHEMWEB.pm +++ b/FHEM/01_FHEMWEB.pm @@ -3086,7 +3086,9 @@ FW_devState($$@) } my $style = AttrVal($d, "devStateStyle", ""); + $state =~ s/"//g; + $state =~ s/<.*?>/ /g; # remove HTML tags for the title $txt = "
$txt
"; my $type = $defs{$d}{TYPE};