Skip to content

Commit

Permalink
Tell the Atom generator that we're giving it Html, perhaps that will …
Browse files Browse the repository at this point in the history
…help.
  • Loading branch information
lazyatom committed Jun 1, 2008
1 parent 233588a commit 9a5531c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vanilla/dynasnips/kind.rb
Expand Up @@ -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}"
Expand Down

0 comments on commit 9a5531c

Please sign in to comment.