pod2html misinterprets Foo::Bar as a URL (fix suggested by Alexander Barilo
Gurusamy Sarathy [Sun, 7 Feb 1999 11:09:39 +0000 (11:09 +0000)]
<Alexander.Barilo@aexp.com>)

p4raw-id: //depot/perl@2821

lib/Pod/Html.pm

index e71afa8..2fec8bd 100644 (file)
@@ -1120,7 +1120,7 @@ sub process_text {
   $rest =~ s{
         \b                          # start at word boundary
         (                           # begin $1  {
-          $urls     :               # need resource and a colon
+          $urls     :[^:]           # need resource and a colon
           [$any] +?                 # followed by on or more
                                     #  of any valid character, but
                                     #  be conservative and take only