mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-03 23:06:37 +00:00
98_weblink.pm: enable multiline perl commands (Forum #39378)
git-svn-id: https://svn.fhem.de/fhem/trunk@9049 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
353840c3e3
commit
ae2d71eaca
@ -92,7 +92,7 @@ weblink_FwFn($$$$)
|
||||
|
||||
my $attr = AttrVal($d, "htmlattr", "");
|
||||
if($wltype eq "htmlCode") {
|
||||
$link = AnalyzePerlCommand(undef, $link) if($link =~ m/^{(.*)}$/);
|
||||
$link = AnalyzePerlCommand(undef, $link) if($link =~ m/^{(.*)}$/s);
|
||||
$ret = $link;
|
||||
|
||||
} elsif($wltype eq "link") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user