From 83109863f644a15e04b709e08223c18dc4ea4c7e Mon Sep 17 00:00:00 2001 From: joey Date: Thu, 21 Dec 2006 13:51:50 +0000 Subject: * Fix an issue with inlining a page with a rss feed inside another page with an rss feed. --- IkiWiki/Plugin/inline.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'IkiWiki') diff --git a/IkiWiki/Plugin/inline.pm b/IkiWiki/Plugin/inline.pm index fd7a59ab3..c623df1c5 100644 --- a/IkiWiki/Plugin/inline.pm +++ b/IkiWiki/Plugin/inline.pm @@ -271,6 +271,8 @@ sub genfeed ($$$$@) { #{{{ my $lasttime = 0; foreach my $p (@pages) { my $u=URI->new(encode_utf8($config{url}."/".htmlpage($p))); + + my $pcontent = absolute_urls(get_inline_content($p, $page), $url); $itemtemplate->param( title => pagetitle(basename($p)), @@ -280,7 +282,6 @@ sub genfeed ($$$$@) { #{{{ date_3339 => date_3339($pagectime{$p}), ); - my $pcontent = absolute_urls(get_inline_content($p, $page), $url); if ($itemtemplate->query(name => "enclosure")) { my $file=$pagesources{$p}; my $type=pagetype($file); -- cgit v1.2.3