Fix pod2html errors in contrib/perl/hooks.pl /usr/bin/pod2html --outfile=html/perl-hooks.html < /home/kalle/src/elinks/contrib/perl/hooks.pl /usr/bin/pod2html: -: unexpected =item directive in paragraph 155. ignoring. /usr/bin/pod2html: -: unterminated list at =head in paragraph 173. ignoring. /usr/bin/pod2html: -: unexpected =item directive in paragraph 179. ignoring. /usr/bin/pod2html: -: unterminated list at =head in paragraph 187. ignoring. /usr/bin/pod2html: -: unexpected =item directive in paragraph 194. ignoring. /usr/bin/pod2html: -: unterminated list at =head in paragraph 210. ignoring. /usr/bin/pod2html: -: unexpected =item directive in paragraph 216. ignoring. /usr/bin/pod2html: -: unterminated list at =head in paragraph 220. ignoring. /usr/bin/pod2html: -: unexpected =item directive in paragraph 226. ignoring. /usr/bin/pod2html: -: unterminated list at =head in paragraph 232. ignoring.
diff --git a/contrib/perl/hooks.pl b/contrib/perl/hooks.pl
index 96dde0f..afbc971 100644
--- a/contrib/perl/hooks.pl
+++ b/contrib/perl/hooks.pl
@@ -934,8 +934,6 @@ B<dia> <I<dialect>> <I<URL>> (or current
Dialects: I<redneck>, I<jive>, I<cockney>, I<fudd>, I<bork>, I<moron>, I<piglatin>, or I<hacker>
-=back
-
=cut
############################################################################
# the Dialectizer (dia <dialect> <url>)
@@ -1070,6 +1068,8 @@ using the search engine defined by the '
}
+=back
+
=head1 FOLLOW URL HOOK
@@ -1081,8 +1081,6 @@ I<Developer's usage>: The function I<fol
is triggered, taking the target URL as its only argument. It returns the final
target URL.
-=back
-
=cut
################################################################################
### follow_url_hook ############################################################
@@ -1133,6 +1131,8 @@ Translates any I<nntp:> or I<news:> URLs
}
+=back
+
=head1 PRE FORMAT HTML HOOK
@@ -1151,8 +1151,6 @@ I<Developer's usage>: The function I<pre
hook is triggered, taking the document's URL and the HTML source as its two
arguments. It returns the rewritten HTML code.
-=back
-
=cut
################################################################################
### pre_format_html_hook #######################################################
@@ -1242,6 +1240,8 @@ content-type:text/html.
}
+=back
+
=head1 PROXY FOR HOOK
@@ -1256,8 +1256,6 @@ I<Developer's usage>: The function I<pro
triggered, taking the target URL as its only argument. It returns the proxy
URL, empty string to use no proxy or I<undef> to use the default proxy URL.
-=back
-
=cut
################################################################################
### proxy_for_hook #############################################################
@@ -1281,6 +1279,8 @@ Prevents proxy usage for local files and
}
+=back
+
=head1 QUIT HOOK
@@ -1294,8 +1294,6 @@ I<Developer's usage>: The function I<qui
triggered, taking no arguments nor returning anything. ('cause, you know, what
would be the point?)
-=back
-
=cut
################################################################################
### quit_hook ##################################################################
@@ -1367,6 +1365,8 @@ A few words of wisdom from ELinks the Sa
}
+=back
+
=head1 SEE ALSO
pgpMOpiTGeGtI.pgp
Description: PGP signature
_______________________________________________ elinks-dev mailing list [email protected] http://linuxfromscratch.org/mailman/listinfo/elinks-dev
