From 0ae9f1ffed89aab9448b45d7ab78b87563cc24bb Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Mon, 6 Oct 2014 14:40:53 -0300 Subject: [PATCH] Indicate on to_html that the caller is a feed --- lib/feed_writer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/feed_writer.rb b/lib/feed_writer.rb index 9800687..4a5f741 100644 --- a/lib/feed_writer.rb +++ b/lib/feed_writer.rb @@ -19,7 +19,7 @@ class FeedWriter for article in articles xml.item do xml.title(article.name) - xml.description(article.to_html) + xml.description(article.to_html(:feed => true)) if article.created_at # rfc822 xml.pubDate(article.created_at.rfc2822) -- libgit2 0.21.2