diff -r f84ed9c6131d -r 56281e086f38 mercurial/hgweb.py --- 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,