mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 13:26:02 +00:00
FHEM/01_FHEMWEB.pm: multiline fix for <html> attribute values (Forum #122261)
git-svn-id: https://svn.fhem.de/fhem/trunk@24822 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
98df1c1ed5
commit
5b579a8b5f
@ -1408,7 +1408,7 @@ FW_makeTable($$$@)
|
|||||||
FW_pO "<td><div $ifidts>$t</div></td>";
|
FW_pO "<td><div $ifidts>$t</div></td>";
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if($val =~ m,^<html>(.*)</html>$,) {
|
if($val =~ m,^<html>(.*)</html>$,s) {
|
||||||
$val = $1;
|
$val = $1;
|
||||||
} else {
|
} else {
|
||||||
$val = FW_htmlEscape($val);
|
$val = FW_htmlEscape($val);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user