hgweb: remove redundant rstrip filter
authorTK Soh <teekaysoh@yahoo.com>
Tue, 08 Nov 2005 10:35:00 -0800
changeset 1511 a91bfbbe88d3
parent 1510 755e7ac351ef
child 1512 53ad6ee6ede4
hgweb: remove redundant rstrip filter
mercurial/hgweb.py
templates/changelogentry-rss.tmpl
templates/filelogentry-rss.tmpl
--- a/mercurial/hgweb.py	Tue Nov 08 10:34:50 2005 -0800
+++ b/mercurial/hgweb.py	Tue Nov 08 10:35:00 2005 -0800
@@ -165,7 +165,6 @@
 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,
--- a/templates/changelogentry-rss.tmpl	Tue Nov 08 10:34:50 2005 -0800
+++ b/templates/changelogentry-rss.tmpl	Tue Nov 08 10:35:00 2005 -0800
@@ -1,5 +1,5 @@
 <item>
-    <title>#desc|strip|firstline|rstrip|escape#</title>
+    <title>#desc|strip|firstline|strip|escape#</title>
     <link>#url#?cs=#node|short#</link>
     <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
     <author>#author|obfuscate#</author>
--- a/templates/filelogentry-rss.tmpl	Tue Nov 08 10:34:50 2005 -0800
+++ b/templates/filelogentry-rss.tmpl	Tue Nov 08 10:35:00 2005 -0800
@@ -1,5 +1,5 @@
 <item>
-    <title>#desc|strip|firstline|rstrip|escape#</title>
+    <title>#desc|strip|firstline|strip|escape#</title>
     <link>#url#?f=#filenode|short#;file=#file#</link>
     <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
     <author>#author|obfuscate#</author>