From 20deb1ab8f56ac3b33d95011956538728db3e7b3 Mon Sep 17 00:00:00 2001 From: betateilchen <> Date: Fri, 25 Sep 2015 12:25:49 +0000 Subject: [PATCH] 55_InfoPanel.pm: support ReadingsVal in ticker Forum #35228 git-svn-id: https://svn.fhem.de/fhem/trunk@9301 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/55_InfoPanel.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fhem/FHEM/55_InfoPanel.pm b/fhem/FHEM/55_InfoPanel.pm index cb7c3acf9..bfa17da8e 100644 --- a/fhem/FHEM/55_InfoPanel.pm +++ b/fhem/FHEM/55_InfoPanel.pm @@ -53,6 +53,8 @@ # changed: limit refresh to at least 60 secs # to prevent performance issues # 2015-03-29 - 8334 - changed: commandref updated +# 2015-09-25 - - changed: support ReadingsVal() in ticker +# with \n in text # ############################################## # $Id$ @@ -692,6 +694,7 @@ sub btIP_itemTicker { $id = ($id eq '-') ? createUniqueId() : $id; my $pause = 2 * $speed; my $color = substr($params{rgb},0,6); + $arg =~ s/\\n/\n/g; # support ReadingsVal() with \n in text my @a = split("\n",$arg); my $liTemplate = '
  • %s
  • '."\n";