33_readingsGroup.pm: get spaces right

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7220 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-12-15 09:02:04 +00:00
parent 9fcc8e7a71
commit cc976f0101

View File

@@ -586,10 +586,10 @@ readingsGroup_2html($;$)
} else {
my $cmd = lookup2($hash->{helper}{commands},$name,$d,$txt);
if( $cmd && $cmd =~ m/^([\w-]*):(\S*)?(\s(\S*))?$/ ) {
if( $cmd && $cmd =~ m/^([\w-]*):(\S*)?(\s\S*)?$/ ) {
my $set = $1;
my $values = $2;
$set .= " $3" if( $3 );
$set .= $3 if( $3 );
if( !$values ) {
my %extPage = ();
@@ -749,10 +749,10 @@ readingsGroup_2html($;$)
if( !$devStateIcon ) {
$cmd = lookup2($hash->{helper}{commands},$name,$n,$v) if( !$devStateIcon );
if( $cmd && $cmd =~ m/^([\w-]*):(\S*)?(\s(\S*))?$/ ) {
if( $cmd && $cmd =~ m/^([\w-]*):(\S*)?(\s\S*)?$/ ) {
my $set = $1;
my $values = $2;
$set .= " $3" if( $3 );
$set .= $3 if( $3 );
if( !$values ) {
my %extPage = ();