bah! THIS should fix munging of non-internal links, i hope
[freeside.git] / bin / pod2x
index 5c23ddd..91dd8d6 100755 (executable)
--- a/bin/pod2x
+++ b/bin/pod2x
@@ -106,7 +106,7 @@ foreach my $file (
   open(RAW, "<$html/$name.rawwiki") or die $!;
   open(WIKI,">$html/$name.wiki"   ) or die $!;
   while (<RAW>) {
-    s/\[\[([^#\/][^\]]*)\]\]/"[[$html\/". w_e($1). "|$1]]"/ge;
+    s/\[\[([^#p][^\]]*)\]\]/"[[$html\/". w_e($1). "|$1]]"/ge;
     print WIKI $_;
   }
   close RAW;