mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 16:59:18 +00:00
FHEMWEB: add alt/title to SVG icons (Forum #33588)
git-svn-id: https://svn.fhem.de/fhem/trunk@7932 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
639f08d201
commit
4faad0f7fb
@ -1936,7 +1936,7 @@ FW_makeImage(@)
|
||||
close(FH);
|
||||
$data =~ s/[\r\n]/ /g;
|
||||
$data =~ s/ *$//g;
|
||||
$data =~ s/<svg/<svg class="$class"/;
|
||||
$data =~ s/<svg/<svg class="$class" alt="$txt" title="$txt"/;
|
||||
$name =~ m/(@.*)$/;
|
||||
my $col = $1 if($1);
|
||||
if($col) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user