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/20 18:23:40 UTC

svn commit: r1579688 - /thrift/cms-site/trunk/lib/view.pm

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};