98_weblink.pm: respect alias for link type (Forum #42467)

git-svn-id: https://svn.fhem.de/fhem/trunk@9512 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-10-18 10:24:08 +00:00
parent a1cf8bd51f
commit cc0e912c5e

View File

@ -96,7 +96,8 @@ weblink_FwFn($$$$)
$ret = $link;
} elsif($wltype eq "link") {
$ret = "<a href=\"$link\" $attr>$d</a>"; # no FW_pH, open extra browser
my $alias = AttrVal($d, "alias", $d);
$ret = "<a href=\"$link\" $attr>$alias</a>"; # no FW_pH, open extra browser
} elsif($wltype eq "image") {
$ret = "<img src=\"$link\" $attr><br>" .