mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-21 20:06:18 +00:00
01_FHEMWEB: fix title problems (Forum #53754)
git-svn-id: https://svn.fhem.de/fhem/trunk@11726 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
daabfd67c2
commit
596f6ae9a2
@ -2193,8 +2193,6 @@ FW_makeImage(@)
|
||||
$data =~ s/[\r\n]/ /g;
|
||||
$data =~ s/ *$//g;
|
||||
$data =~ s/<svg/<svg class="$class" data-txt="$txt"/; #52967
|
||||
my $title = urlEncode($txt);
|
||||
$data =~ s,</svg,<title>$title</title></svg,;
|
||||
$name =~ m/(@.*)$/;
|
||||
my $col = $1 if($1);
|
||||
if($col) {
|
||||
@ -2797,7 +2795,8 @@ FW_devState($$@)
|
||||
}
|
||||
|
||||
my $style = AttrVal($d, "devStateStyle", "");
|
||||
$txt = "<div id=\"$d\" $style class=\"col2\">$txt</div>";
|
||||
$state =~ s/"//g;
|
||||
$txt = "<div id=\"$d\" $style title=\"$state\" class=\"col2\">$txt</div>";
|
||||
|
||||
my $type = $defs{$d}{TYPE};
|
||||
my $sfn = $modules{$type}{FW_summaryFn};
|
||||
|
Loading…
x
Reference in New Issue
Block a user