mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 06:39:11 +00:00
01_FHEMWEB.pm: fix <td> removeal for multiline content (Forum #123027)
git-svn-id: https://svn.fhem.de/fhem/trunk@25000 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
d43610abb4
commit
45c1d9e988
@ -1901,7 +1901,7 @@ FW_makeDeviceLine($$$$$)
|
||||
}
|
||||
|
||||
if($htmlTxt) {
|
||||
$htmlTxt =~ s,^<td[^>]*>(.*)</td>$,$1,;
|
||||
$htmlTxt =~ s,^<td[^>]*>(.*)</td>$,$1,s;
|
||||
} else {
|
||||
my $nCmd = $cmdIcon{$cmd} ?
|
||||
FW_makeImage($cmdIcon{$cmd},$cmd,"webCmd") : $cmd;
|
||||
@ -1915,7 +1915,7 @@ FW_makeDeviceLine($$$$$)
|
||||
FW_pO "</tr><tr>" if($wcl[$i1] =~ m/\n/);
|
||||
FW_pO "</tr></table></td>" if($i1 == @cl-1);
|
||||
} else {
|
||||
FW_pO "<td><div class='col3'>$wcl[$i1]$ htmlTxt</div></td>";
|
||||
FW_pO "<td><div class='col3'>$wcl[$i1]$htmlTxt</div></td>";
|
||||
}
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user