Author: joes
Date: Thu Mar 20 17:23:39 2014
New Revision: 1579688

URL: http://svn.apache.org/r1579688
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=1579688&r1=1579687&r2=1579688&view=diff
==============================================================================
--- thrift/cms-site/trunk/lib/view.pm (original)
+++ thrift/cms-site/trunk/lib/view.pm Thu Mar 20 17:23:39 2014
@@ -22,7 +22,8 @@ sub thrift_preprocessor {
                                repo => "thrift.git",
                                %a,
                            );
-                           "{{ " . $key++ . ".fetch|markdown }}";
+                           my $mdfilter = exists $a{lang} ?  "|markdown" : "";
+                           "{{ " . $key++ . ".fetch$mdfilter }}";
                        }ge;
 
     delete $args{view};


Reply via email to