clarify validity for prtially initialized local variables
[web.git] / ralf / _includes / post-feed.html
index 18959edc70b44510096d4468e123b45e93500db7..ce5eef027c98d202bbc5afe61b209dc5fc25c5f2 100644 (file)
@@ -7,6 +7,11 @@
     {% for cat in post.categories %}
         <category term="{{ cat }}" label="{{ cat | capitalize }}"/>
     {% endfor %}
-    <content type="html">{{ post.content | xml_escape }}</content>
+    <content type="html">
+        {% capture content %}
+            {{ post.content }}
+        {% endcapture %}
+        {{ content | xml_escape }}
+    </content>
   </entry>
 {% endfor %}