Hi,
this bug seems to be related to line 1011 in lib/Doxygen/Filter/Perl.pm
$sBlockDetails .= $line . "<br>";
We can prevent this additional line break in a verbatim block by
replacing this line with
$sBlockDetails .= $line;
if ($iInVerbatimBlock == 0) { $sBlockDetails .= "<br>"; }
However, @code is not recognized yet as a verbatim block. Thus, I
suggest to replace lines 989-1000 with
my $cmd = $1 if $line =~ /^\s*#\s*\@([a-z]*)/;
if ($cmd eq 'verbatim' || $cmd eq 'code')
{
$logger->debug("Found $cmd command");
# We need to remove the comment marker from the '# @...' line
now since it will not be caught later
$line =~ s/^\s*#\s*/ /;
$iInVerbatimBlock = 1;
}
elsif ($cmd eq 'endverbatim' || $cmd eq 'endcode')
{
$logger->debug("Found $cmd command");
$iInVerbatimBlock = 0;
}
Hope that helps