mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-12 08:41:41 +00:00
contrib/zwave_configconvert.pl: fix Help formatting
git-svn-id: https://svn.fhem.de/fhem/trunk@8639 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
683ce464dc
commit
0469da297e
@ -49,7 +49,7 @@ foreach my $file (`find $ARGV[0] -name \*.xml`) {
|
||||
#$l =~ s/^ *//g;
|
||||
$l =~ s/ *$//g;
|
||||
next if($l eq "");
|
||||
if($l !~ m/>$/ || $l =~ m/^<Help>$/) { $buffer .= " ".$l; next; }
|
||||
if($l !~ m/>$/ || $l =~ m/^\s*<Help>\s*$/) { $buffer .= " ".$l; next; }
|
||||
if($buffer && $l =~ m/>$/) { $l = "$buffer $l"; $buffer=""; }
|
||||
$l =~ s/<!--.*-->//g;
|
||||
$l =~ s/ *$//g;
|
||||
|
Loading…
x
Reference in New Issue
Block a user