##// END OF EJS Templates
hgweb: remove redundant rstrip filter
TK Soh -
r1511:a91bfbbe default
parent child Browse files
Show More
@@ -165,7 +165,6 b' class templater:'
165 common_filters = {
165 common_filters = {
166 "escape": cgi.escape,
166 "escape": cgi.escape,
167 "strip": lambda x: x.strip(),
167 "strip": lambda x: x.strip(),
168 "rstrip": lambda x: x.rstrip(),
169 "age": age,
168 "age": age,
170 "date": lambda x: util.datestr(x),
169 "date": lambda x: util.datestr(x),
171 "addbreaks": nl2br,
170 "addbreaks": nl2br,
@@ -1,5 +1,5 b''
1 <item>
1 <item>
2 <title>#desc|strip|firstline|rstrip|escape#</title>
2 <title>#desc|strip|firstline|strip|escape#</title>
3 <link>#url#?cs=#node|short#</link>
3 <link>#url#?cs=#node|short#</link>
4 <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
4 <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
5 <author>#author|obfuscate#</author>
5 <author>#author|obfuscate#</author>
@@ -1,5 +1,5 b''
1 <item>
1 <item>
2 <title>#desc|strip|firstline|rstrip|escape#</title>
2 <title>#desc|strip|firstline|strip|escape#</title>
3 <link>#url#?f=#filenode|short#;file=#file#</link>
3 <link>#url#?f=#filenode|short#;file=#file#</link>
4 <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
4 <description><![CDATA[#desc|strip|escape|addbreaks#]]></description>
5 <author>#author|obfuscate#</author>
5 <author>#author|obfuscate#</author>
General Comments 0
You need to be logged in to leave comments. Login now