Commit 0ae9f1ffed89aab9448b45d7ab78b87563cc24bb
1 parent
2dcc1755
Exists in
staging
and in
4 other branches
Indicate on to_html that the caller is a feed
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/feed_writer.rb
... | ... | @@ -19,7 +19,7 @@ class FeedWriter |
19 | 19 | for article in articles |
20 | 20 | xml.item do |
21 | 21 | xml.title(article.name) |
22 | - xml.description(article.to_html) | |
22 | + xml.description(article.to_html(:feed => true)) | |
23 | 23 | if article.created_at |
24 | 24 | # rfc822 |
25 | 25 | xml.pubDate(article.created_at.rfc2822) | ... | ... |