aboutsummaryrefslogtreecommitdiff
path: root/www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm')
-rw-r--r--www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm b/www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm
new file mode 100644
index 000000000000..23bf24573e53
--- /dev/null
+++ b/www/p5-CGI-Kwiki/files/p5005-patch-CGI-Kwiki-Template.pm
@@ -0,0 +1,12 @@
+--- lib/CGI/Kwiki/Template.pm.orig Fri Aug 29 09:30:19 2003
++++ lib/CGI/Kwiki/Template.pm Wed Oct 15 11:37:23 2003
+@@ -71,7 +71,8 @@
+ my ($self, $text, $v) = @_;
+ my $re;
+ $text = $self->loc($text);
+- $re = qr/\[((?:(?>[^\[\]]+)|(??{$re}))*)\]/;
++ #$re = qr/\[((?:(?>[^\[\]]+)|(??{$re}))*)\]/;
++ $re = qr/\[((?:(?>[^\[\]]+)|\[[^\[\]]*\])*)\]/;
+ $text =~ s{$re}
+ {<a href="[% script %]?$1">$1</a>}g;
+ $text =~ s{\[%\s+(\w+)\s+%\]\n?}