2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-21 07:56:03 +00:00

01_FHEMWEB.pm: change the svg stroke as requested (Forum #120303)

git-svn-id: https://svn.fhem.de/fhem/trunk@24237 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2021-04-13 16:12:26 +00:00
parent af9601652b
commit 85fe07c817

View File

@ -2719,6 +2719,8 @@ FW_makeImage(@)
$col = "#$col" if($col =~ m/^([A-F0-9]{6})$/);
$data =~ s/fill="#000000"/fill="$col"/g;
$data =~ s/fill:#000000/fill:$col/g;
$data =~ s/stroke="#000000"/stroke="$col"/g; # 120303
$data =~ s/stroke:#000000/stroke:$col/g;
} else {
$data =~ s/fill="#000000"//g;
$data =~ s/fill:#000000//g;