templates/index.rxml in shinmun-1.0.1 vs templates/index.rxml in shinmun-1.0.2
- old
+ new
@@ -9,11 +9,11 @@
<pubDate><%= rfc822 Time.now %></pubDate>
<% for post in @posts %>
<item>
<title><%= post.title %></title>
<category><%= post.category %></category>
- <description><%= strip_tags post.summary %></description>
- <author><%= @author || @blog.author %></author>
+ <description><![CDATA[ <%= post.transform(post.body, :code_css => :style) %>]]></description>
+ <author><%= @blog.author %></author>
<link><%= @blog.url %><%= post_path post %></link>
<pubDate><%= rfc822 post.date %></pubDate>
</item>
<% end %>
</channel>