Author: joes
Date: Sat Mar 22 01:28:55 2014
New Revision: 1580110
URL: http://svn.apache.org/r1580110
Log:
better
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=1580110&r1=1580109&r2=1580110&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Sat Mar 22 01:28:55 2014
@@ -24,8 +24,8 @@ sub thrift_preprocessor {
repo => "thrift.git",
%a,
);
- my $mdfilter = exists $a{lang} ? "|markdown" : "";
- "{{ " . $key++ . ".fetch$mdfilter }}";
+ my $filter = exists $a{lang} ? "markdown" : "safe";
+ "{{ " . $key++ . ".fetch|$filter }}";
}ge;
my $view = ref $args{view} ? shift @{$args{view}} : delete $args{view};