mercurial/hgweb.py
changeset 1445 56281e086f38
parent 1418 68f81ba07b2a
child 1473 7d66ce9895fa
equal deleted inserted replaced
1444:f84ed9c6131d 1445:56281e086f38
   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]),