--- loncom/build/lpml_parse.pl 2002/04/13 19:29:32 1.45 +++ loncom/build/lpml_parse.pl 2002/04/21 23:36:17 1.46 @@ -12,7 +12,7 @@ # The LearningOnline Network with CAPA # lpml_parse.pl - Linux Packaging Markup Language parser # -# $Id: lpml_parse.pl,v 1.45 2002/04/13 19:29:32 harris41 Exp $ +# $Id: lpml_parse.pl,v 1.46 2002/04/21 23:36:17 harris41 Exp $ # # Written by Scott Harrison, codeharrison@yahoo.com # @@ -1056,7 +1056,10 @@ sub format_description { sub format_files { my $text=$parser->get_text('/files'); $parser->get_tag('/files'); - if ($mode eq 'html') { + if ($mode eq 'MANIFEST') { + return $text; + } + elsif ($mode eq 'html') { return $directories="\n
 
". "". "Files
 
". @@ -1174,7 +1177,10 @@ sub format_file { $categorycount{$categoryname}++; if ($source) { $parser->get_tag('/file'); - if ($mode eq 'html') { + if ($mode eq 'MANIFEST') { + return $source."\n"; + } + elsif ($mode eq 'html') { return ($file="\n". "". "