2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-22 02:10:32 +00:00

AttrTemplate.pm: cosmetic change for attrTemplate ? on FHEMWEB (Forum #91394)

git-svn-id: https://svn.fhem.de/fhem/trunk@17973 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2018-12-14 18:19:05 +00:00
parent e9ad3fb923
commit 961527cd7c

View File

@ -103,8 +103,8 @@ AttrTemplate_Set($$@)
}
return "no help available" if(!@hlp);
if($hash->{CL} && $hash->{CL}{TYPE} eq "FHEMWEB") {
return "<html><li>".join("</li><li>", map { $_=~s/:/<br>/; $_ } @hlp).
"</li></html>";
return "<html><ul><li>".join("</li><br><li>",
map { $_=~s/:/<br>/; $_ } @hlp)."</li></ul></html>";
}
return join("\n", @hlp);
}