Commits

Fred T-H  committed e92ec28

fixing RSS title through regular escape filter

  • Participants
  • Parent commits 1f691a3

Comments (0)

Files changed (1)

File demo-blog/src/rss.tpl

     <language>en-us</language>
     <pubDate>{{ latest_date }}</pubDate>
     <lastBuildDate>{{ latest_date }}</lastBuildDate>
-	<ttl>60</ttl>
-	
+    <ttl>60</ttl>
+
     {% for article in articles %}
     <item>
-      <title>{{ article.title }}</title>
+      <title>{{ article.title|escape }}</title>
       <link>{{ url.base }}{{ article.slug }}.html</link>
       <description>{{ article.desc }}</description>
       <pubDate>{{ article.date }}</pubDate>