Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb.py @ 1445:56281e086f38
hgweb: add strip and rstrip filters to handle summary
author | TK Soh <teekaysoh@yahoo.com> |
---|---|
date | Tue, 25 Oct 2005 14:57:14 -0700 |
parents | 68f81ba07b2a |
children | 7d66ce9895fa |
line wrap: on
line diff
--- a/mercurial/hgweb.py Tue Oct 25 14:55:39 2005 -0700 +++ b/mercurial/hgweb.py Tue Oct 25 14:57:14 2005 -0700 @@ -164,6 +164,8 @@ common_filters = { "escape": cgi.escape, + "strip": lambda x: x.strip(), + "rstrip": lambda x: x.rstrip(), "age": age, "date": lambda x: util.datestr(x), "addbreaks": nl2br,