Displaying 1 result from an estimated 1 matches for "0bb7b28".
2015 Jun 09
3
[PATCH] podwrapper: simplify external references pointing to self
...t making Pod::Simple parse them as external reference.
While it is a slightly crude hack, it seems there's no easy way to
process the link parsing with Pod::Simple subclasses.
---
podwrapper.pl.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/podwrapper.pl.in b/podwrapper.pl.in
index 0bb7b28..b354db6 100755
--- a/podwrapper.pl.in
+++ b/podwrapper.pl.in
@@ -278,6 +278,9 @@ foreach (@inserts) {
if $content eq $oldcontent;
}
+# Turn external links to this man page into simple cross-section links.
+$content =~ s,\QL<$name($section)/\E,L</,g;
+
# Perform @verbatims.
fore...