Commits

Andriy Kornatskyy  committed 443a935

Apply filters in direct order as they listed (from left to right).

  • Participants
  • Parent commits dd478d8

Comments (0)

Files changed (1)

File src/wheezy/template/ext/core.py

         elif token == 'var':
             var, var_filters = value
             if var_filters:
-                for f in reversed(var_filters):
+                for f in var_filters:
                     var = known_var_filters.get(f, f) + '(' + var + ')'
             builder.add(lineno, 'w(' + var + ')')
         elif value: