bf6b384902
- add RUN_DEPENDS with p5-Locale-Maketext - add EXTRA_PATCHES with PERL_LEVEL < 5.00601 PR: 58043 Submitted by: Cheng-Lung Sung <clsung@dragon2.net> (maintainer)
12 lines
476 B
Perl
12 lines
476 B
Perl
--- 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?}
|