mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-15 22:26:04 +00:00
01_FHEMWEB.pm: remove HTML tags from the title Attribute (Forum #87372)
git-svn-id: https://svn.fhem.de/fhem/trunk@16677 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
176a44e72e
commit
951e4be031
@ -3086,7 +3086,9 @@ FW_devState($$@)
|
||||
}
|
||||
|
||||
my $style = AttrVal($d, "devStateStyle", "");
|
||||
|
||||
$state =~ s/"//g;
|
||||
$state =~ s/<.*?>/ /g; # remove HTML tags for the title
|
||||
$txt = "<div id=\"$d\" $style title=\"$state\" class=\"col2\">$txt</div>";
|
||||
|
||||
my $type = $defs{$d}{TYPE};
|
||||
|
Loading…
x
Reference in New Issue
Block a user