Author: joes
Date: Thu Mar 20 14:51:05 2014
New Revision: 1579644
URL: http://svn.apache.org/r1579644
Log:
build snippets
Modified:
thrift/cms-site/trunk/lib/view.pm
Modified: thrift/cms-site/trunk/lib/view.pm
URL:
http://svn.apache.org/viewvc/thrift/cms-site/trunk/lib/view.pm?rev=1579644&r1=1579643&r2=1579644&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Thu Mar 20 14:51:05 2014
@@ -14,7 +14,7 @@ sub thrift_preprocessor {
delete $args{view};
my $key = "_snippet_a";
- $args{content} =~ s{\[XXXsnippet:([^\]]+)\]}
+ $args{content} =~ s{\[snippet:([^\]]+)\]}
{
my $template = $1;
my %a = map {split /=/, $_, 2} split /:/, $template;