diff mercurial/templates/rss/filelogentry.tmpl @ 21486:16352b34e32e

hgweb: apply websub filter to the changeset description in rss and atom feeds For example, this is useful for linking from the feed reader to a bug tracker. This follows the existing pattern used within the hgweb templates. With the exception of the raw style, all usages of the changeset "desc" keyword are now followed by either the "firstline" filter or the "websub" filter. When "websub" is used, it always follows the "escape" filter.
author Steven Brown <StevenGBrown@gmail.com>
date Sat, 17 May 2014 17:10:23 +0800
parents 9409aeaafdc1
children 7817df5585db
line wrap: on
line diff
--- a/mercurial/templates/rss/filelogentry.tmpl	Sat May 17 17:09:46 2014 +0800
+++ b/mercurial/templates/rss/filelogentry.tmpl	Sat May 17 17:10:23 2014 +0800
@@ -1,7 +1,7 @@
 <item>
     <title>{desc|strip|firstline|strip|escape}</title>
     <link>{urlbase}{url|urlescape}log{node|short}/{file|urlescape}</link>
-    <description><![CDATA[{desc|strip|escape|addbreaks|nonempty}]]></description>
+    <description><![CDATA[{desc|strip|escape|websub|addbreaks|nonempty}]]></description>
     <author>{author|obfuscate}</author>
     <pubDate>{date|rfc822date}</pubDate>
 </item>