Won't work for DOS encoded .pm
git-svn-id: https://fhem.svn.sourceforge.net/svnroot/fhem/trunk/fhem@2496 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
@@ -67,7 +67,7 @@ foreach my $lang (@lang) {
|
|||||||
my $line = 0;
|
my $line = 0;
|
||||||
while(my $l = <MOD>) {
|
while(my $l = <MOD>) {
|
||||||
$line++;
|
$line++;
|
||||||
if($l =~ m/^=begin html$suffix$/) {
|
if($l =~ m/^=begin html$suffix/) {
|
||||||
$l = <MOD>; # skip one line, to be able to repeat join+split
|
$l = <MOD>; # skip one line, to be able to repeat join+split
|
||||||
$skip = 0; $line++;
|
$skip = 0; $line++;
|
||||||
} elsif($l =~ m/^=end html$suffix/) {
|
} elsif($l =~ m/^=end html$suffix/) {
|
||||||
|
|||||||
Reference in New Issue
Block a user