Hello everyone,
I'm new to JSDoc and the mailing list, but I thought I'd let you know of
this bug just in case it hasn't been discovered yet. It seems like any
filenames with underscores in them causes jsdoc.pl to die when printing out
contents to the HTML files.
I poked around the file, and made this change and it seems to work now:
------------------------
sub print_file {
my ($fname, $data) = @_;
my $file = $fname;
$file =~ s/$OPTIONS{OUTPUT}//;
$file = &mangle($file);
$fname = $OPTIONS{OUTPUT} . $file;
open FILE, ">$fname"
or die "Couldn't open '$fname' to write: $!\n";
print FILE $data;
close FILE;
}
------------------------
I think mangle() was left out of a few places, so I just went down a layer
into the print file and called it.
Thanks,
--Cal
|