mercurial/hgweb.py
changeset 1445 56281e086f38
parent 1418 68f81ba07b2a
child 1473 7d66ce9895fa
--- 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,