mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
01_FHEMWEB.pm: Fixes for uesr defined links with + (Forum #33066)
git-svn-id: https://svn.fhem.de/fhem/trunk@7841 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
183f9cf734
commit
e1c20c56ae
@ -1282,7 +1282,7 @@ FW_roomOverview($)
|
||||
|
||||
# Force external browser if FHEMWEB is installed as an offline app.
|
||||
my $target = ''; # Forum 33066
|
||||
$target = 'target=\"_blank\" ' if($l2 =~ s/\+//);
|
||||
$target = 'target="_blank"' if($l2 =~ s/^$FW_ME\/\+/$FW_ME\//);
|
||||
if($l2 =~ m/.html$/ || $l2 =~ m/^http/ || length($target)) {
|
||||
FW_pO "<td><div><a href=\"$l2\" $target >$icon$l1</a></div></td>";
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user