From 9a5531cf929ce8cf9a73b5b16bfbce5e3c7ee86c Mon Sep 17 00:00:00 2001 From: James Adam Date: Sun, 1 Jun 2008 16:17:25 +0100 Subject: [PATCH] Tell the Atom generator that we're giving it Html, perhaps that will help. --- lib/vanilla/dynasnips/kind.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vanilla/dynasnips/kind.rb b/lib/vanilla/dynasnips/kind.rb index ad19f94..48aca8c 100644 --- a/lib/vanilla/dynasnips/kind.rb +++ b/lib/vanilla/dynasnips/kind.rb @@ -24,7 +24,7 @@ def render_entry_in_template(snip, as, kind) Atom::Entry.new do |e| e.published = snip.created_at e.updated = snip.updated_at || snip.created_at - e.content = rendered_contents + e.content = Atom::Content::Html.new(rendered_contents) e.title = snip.name e.links << Atom::Link.new(:href => "http://#{domain}#{Vanilla::Routes.url_to(snip.name)}") e.id = "tag:#{domain},#{snip.id}:#{snip.name}"