You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by jo...@apache.org on 2014/03/24 19:00:20 UTC
svn commit: r1580946 - /thrift/cms-site/trunk/lib/view.pm
Author: joes
Date: Mon Mar 24 18:00:19 2014
New Revision: 1580946
URL: http://svn.apache.org/r1580946
Log:
cleaner
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=1580946&r1=1580945&r2=1580946&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Mon Mar 24 18:00:19 2014
@@ -7,7 +7,7 @@ sub append_snippet_footer {
my %args = @_;
$args{view} = [@{$args{view}}] if ref $args{view};
my $view = ref $args{view} ? shift @{$args{view}} : delete $args{view};
- $args{content} =~ s/({{ snippet(\w+)\.fetch }}.*\n)/$1
+ $args{content} =~ s/({{ snippet(\w+)\.fetch\|\w+ }}.*\n)/$1
This page was generated from {{ conf.title }}'s **source tree docs**:
[{{ snippet$2.path }}]({{ snippet$2.uri }})
/;