diff --git a/fhem/CHANGED b/fhem/CHANGED index e07bc1fbb..98ea56d41 100644 --- a/fhem/CHANGED +++ b/fhem/CHANGED @@ -1,5 +1,6 @@ # Add changes at the top of the list. Keep it in ASCII, and 80-char wide. # Do not insert empty lines here, update check depends on it. + - feature: 01_FHEMWEB/Reading: accept Readings in (Forum #58320) - bugfix: 95_Dashboard: fixes an issue causing devices with interal attribute group to not appear in the dashboard. - bugfix: 93_DbRep: include day before and next in calculation if Timestamp diff --git a/fhem/FHEM/01_FHEMWEB.pm b/fhem/FHEM/01_FHEMWEB.pm index 7561bda23..8efd000b8 100755 --- a/fhem/FHEM/01_FHEMWEB.pm +++ b/fhem/FHEM/01_FHEMWEB.pm @@ -1080,7 +1080,12 @@ FW_makeTable($$$@) if(ref($val)) { #handle readings my ($v, $t) = ($val->{VAL}, $val->{TIME}); - $v = FW_htmlEscape($v); + if($v =~ m,^(.*)$,) { + $v = $1; + } else { + $v = FW_htmlEscape($v); + } + if($FW_ss) { $t = ($t ? "
$t
" : ""); FW_pO "
$v$t
";