equal
deleted
inserted
replaced
162 yield tmpl |
162 yield tmpl |
163 return |
163 return |
164 |
164 |
165 common_filters = { |
165 common_filters = { |
166 "escape": cgi.escape, |
166 "escape": cgi.escape, |
|
167 "strip": lambda x: x.strip(), |
|
168 "rstrip": lambda x: x.rstrip(), |
167 "age": age, |
169 "age": age, |
168 "date": lambda x: util.datestr(x), |
170 "date": lambda x: util.datestr(x), |
169 "addbreaks": nl2br, |
171 "addbreaks": nl2br, |
170 "obfuscate": obfuscate, |
172 "obfuscate": obfuscate, |
171 "short": (lambda x: x[:12]), |
173 "short": (lambda x: x[:12]), |