X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Flib%2FRT%2FShredder%2FPOD.pm;h=d867d13ea608e2a357e9ab0d5cf4e3e4f52f07b4;hp=ee4fb09ca9fb71a49f9f627a8b9ef8efaa021a2d;hb=187086c479a09629b7d180eec513fb7657f4e291;hpb=45d35d5739d05e602bc317739485693e0e9ff0b5 diff --git a/rt/lib/RT/Shredder/POD.pm b/rt/lib/RT/Shredder/POD.pm index ee4fb09ca..d867d13ea 100644 --- a/rt/lib/RT/Shredder/POD.pm +++ b/rt/lib/RT/Shredder/POD.pm @@ -2,7 +2,7 @@ # # COPYRIGHT: # -# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +# This software is Copyright (c) 1996-2018 Best Practical Solutions, LLC # # # (Except where explicitly superseded by other copyright notices) @@ -59,6 +59,7 @@ sub plugin_html my $parser = RT::Shredder::POD::HTML->new; $parser->select('ARGUMENTS', 'USAGE'); $parser->parse_from_file( $file, $out_fh ); + return; } sub plugin_cli @@ -69,6 +70,7 @@ sub plugin_cli $parser->select('SYNOPSIS', 'ARGUMENTS', 'USAGE'); $parser->add_selection('NAME') unless $no_name; $parser->parse_from_file( $file, $out_fh ); + return; } sub shredder_cli @@ -78,6 +80,7 @@ sub shredder_cli my $parser = Pod::PlainText->new(); $parser->select('NAME', 'SYNOPSIS', 'USAGE', 'OPTIONS'); $parser->parse_from_file( $file, $out_fh ); + return; } package RT::Shredder::POD::HTML; @@ -97,6 +100,7 @@ sub command print $out_fh $expansion; print $out_fh "" if $tag; print $out_fh "\n"; + return; } sub verbatim @@ -107,6 +111,7 @@ sub verbatim print $out_fh $paragraph; print $out_fh ""; print $out_fh "\n"; + return; } sub textblock { @@ -118,6 +123,7 @@ sub textblock { print $out_fh $expansion; print $out_fh "

"; print $out_fh "\n"; + return; } sub interior_sequence {