# HG changeset patch # User TK Soh # Date 2005-11-08 18:35:00 # Node ID a91bfbbe88d3df0bb909f88e0d53a4e37cbf824f # Parent 755e7ac351ef3768b47aa2e4fe015a11a5cc78ed hgweb: remove redundant rstrip filter diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -165,7 +165,6 @@ class templater: 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, diff --git a/templates/changelogentry-rss.tmpl b/templates/changelogentry-rss.tmpl --- a/templates/changelogentry-rss.tmpl +++ b/templates/changelogentry-rss.tmpl @@ -1,5 +1,5 @@ - #desc|strip|firstline|rstrip|escape# + #desc|strip|firstline|strip|escape# #url#?cs=#node|short# #author|obfuscate# diff --git a/templates/filelogentry-rss.tmpl b/templates/filelogentry-rss.tmpl --- a/templates/filelogentry-rss.tmpl +++ b/templates/filelogentry-rss.tmpl @@ -1,5 +1,5 @@ - #desc|strip|firstline|rstrip|escape# + #desc|strip|firstline|strip|escape# #url#?f=#filenode|short#;file=#file# #author|obfuscate#