Author: joes
Date: Wed Mar 19 19:32:45 2014
New Revision: 1579365

URL: http://svn.apache.org/r1579365
Log:
clearer

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=1579365&r1=1579364&r2=1579365&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Wed Mar 19 19:32:45 2014
@@ -18,7 +18,7 @@ sub thrift_preprocessor {
     $args{content} =~ s{\[XXXsnippet:([^\]]+)\]}
                        {
                            my $template = $1;
-                           my %a = map {split /=/} split /:/, $template;
+                           my %a = map {split /=/, $_, 2} split /:/, $template;
                            $args{$key} = ASF::Value::Snippet->new(template => 
$url_template, %a);
                            "{{ " . $key++ . ".list.$a{index} }}";
                        }ge;


Reply via email to