mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-25 03:39:21 +00:00
01_FHEMWEB.pm: remove space before newline for devstateicon (Forum #116395)
git-svn-id: https://svn.fhem.de/fhem/trunk@23283 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
e1057e6d9b
commit
67822adfa1
@ -3239,6 +3239,7 @@ FW_devState($$@)
|
|||||||
} else {
|
} else {
|
||||||
my $html = "";
|
my $html = "";
|
||||||
foreach my $state (split("\n", $state)) {
|
foreach my $state (split("\n", $state)) {
|
||||||
|
$state =~ s/ *$//;
|
||||||
$txt = $state;
|
$txt = $state;
|
||||||
my ($icon, $isHtml);
|
my ($icon, $isHtml);
|
||||||
($icon, $link, $isHtml) = FW_dev2image($d,$state);
|
($icon, $link, $isHtml) = FW_dev2image($d,$state);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user