From 5d65ad9b409494bb4e7c98a27d29079e09b111f5 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Mon, 24 Mar 2008 06:44:13 +0000 Subject: [PATCH] fix default text for pod links to other modules Do not provide an explicit link presentation for stand-alone module references (no context, so let the renderer do what it thinks best). In a running text we want the opposite though: make sure modules names aren't 'linkified' when they shouldn't (e.g. "use the XML::Quote manpage" when we mean just the module). --- PLP/Backend/Apache.pm | 2 +- PLP/Backend/CGI.pm | 2 +- PLP/Backend/FastCGI.pm | 2 +- PLP/Functions.pm | 9 ++++++--- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/PLP/Backend/Apache.pm b/PLP/Backend/Apache.pm index 94d38bf..89e32c6 100644 --- a/PLP/Backend/Apache.pm +++ b/PLP/Backend/Apache.pm @@ -125,5 +125,5 @@ Mischa POSLAWSKY =head1 SEE ALSO -L, L, L +L, L, L diff --git a/PLP/Backend/CGI.pm b/PLP/Backend/CGI.pm index 3b4c400..7058b3e 100644 --- a/PLP/Backend/CGI.pm +++ b/PLP/Backend/CGI.pm @@ -122,5 +122,5 @@ Mischa POSLAWSKY =head1 SEE ALSO -L, L +L, L diff --git a/PLP/Backend/FastCGI.pm b/PLP/Backend/FastCGI.pm index 8ee3261..205ece1 100644 --- a/PLP/Backend/FastCGI.pm +++ b/PLP/Backend/FastCGI.pm @@ -65,5 +65,5 @@ Mischa POSLAWSKY =head1 SEE ALSO -L, L, L +L, L, L diff --git a/PLP/Functions.pm b/PLP/Functions.pm index 3eb07ca..28815cd 100644 --- a/PLP/Functions.pm +++ b/PLP/Functions.pm @@ -213,7 +213,8 @@ In void context, B the values of the given variables. In other contexts <: print Entity($user_input); :> Be warned that this function also HTMLizes consecutive whitespace and newlines (using   and
respectively). -For simple escaping, use L. To escape high-bit characters as well, use L. +For simple escaping, use L. +To escape high-bit characters as well, use L. =item EncodeURI LIST @@ -227,11 +228,13 @@ Note that the following reserved characters are I percent-encoded, even tho / ? : @ $ -This should be safe for escaping query values (as in the example above), but it may be a better idea to use L instead. +This should be safe for escaping query values (as in the example above), +but it may be a better idea to use L instead. =item DecodeURI LIST -Decodes %-encoded strings. Unlike L, it also translates + characters to spaces (as browsers use those). +Decodes %-encoded strings. Unlike L, +it also translates + characters to spaces (as browsers use those). In void context, B the values of the given variables. In other contexts, returns the changed versions. -- 2.30.0