From 70ac35f39d721760a73151a05d1cb23f6fa5089c Mon Sep 17 00:00:00 2001 From: James Adam Date: Wed, 4 Jun 2008 13:14:41 +0100 Subject: [PATCH] Links in a feed need to be absolute, without a typo. --- 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 01fc435..a44da07 100644 --- a/lib/vanilla/dynasnips/kind.rb +++ b/lib/vanilla/dynasnips/kind.rb @@ -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}/")