diff --git a/fhem/contrib/commandref_join.pl b/fhem/contrib/commandref_join.pl index d2eaff87d..c7657f49e 100755 --- a/fhem/contrib/commandref_join.pl +++ b/fhem/contrib/commandref_join.pl @@ -150,6 +150,13 @@ generateModuleCommandref($$;$$) } elsif(!$skip) { print $fh $l if($fh); + if($l =~ m,

$mod

,i && $fh) { + print $fh "\n"; + } + $docCount++; $hasLink = ($l =~ m/