updated filters: wordwraps uses the wordwrap module and urlize marks the result as HTML now if in autoescape mode
--HG--
branch : trunk
diff --git a/jinja2/lexer.py b/jinja2/lexer.py
index 3b65b95..f01b85d 100644
--- a/jinja2/lexer.py
+++ b/jinja2/lexer.py
@@ -137,7 +137,7 @@
token type or 'token_type:token_value'. This can only test against
string values!
"""
- # here we do a regular string equality check as test_many is usually
+ # here we do a regular string equality check as test_any is usually
# passed an iterable of not interned strings.
if self.type == expr:
return True
@@ -145,7 +145,7 @@
return expr.split(':', 1) == [self.type, self.value]
return False
- def test_many(self, iterable):
+ def test_any(self, *iterable):
"""Test against multiple token expressions."""
for expr in iterable:
if self.test(expr):