mercurial/hgweb.py
changeset 1511 a91bfbbe88d3
parent 1498 78590fb4a82b
child 1524 0d47bb884330
equal deleted inserted replaced
1510:755e7ac351ef 1511:a91bfbbe88d3
   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(),
   167     "strip": lambda x: x.strip(),
   168     "rstrip": lambda x: x.rstrip(),
       
   169     "age": age,
   168     "age": age,
   170     "date": lambda x: util.datestr(x),
   169     "date": lambda x: util.datestr(x),
   171     "addbreaks": nl2br,
   170     "addbreaks": nl2br,
   172     "obfuscate": obfuscate,
   171     "obfuscate": obfuscate,
   173     "short": (lambda x: x[:12]),
   172     "short": (lambda x: x[:12]),