Skip to content

Commit

Permalink
Links in a feed need to be absolute, without a typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
lazyatom committed Jun 4, 2008
1 parent e52479b commit 70ac35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/vanilla/dynasnips/kind.rb
Expand Up @@ -34,7 +34,7 @@ def render_entry_in_template(snip, as, kind)
end
end

def prepare_snip_content(snip)
def prepare_snip_contents(snip)
rendered_snip = app.render(snip)
# make all the links absolute
rendered_snip.gsub(/href="\//, "href=\"http://#{domain}/")
Expand Down

0 comments on commit 70ac35f

Please sign in to comment.