From 49bd505dd305b381e4fff7f6d2e18d649a446e03 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 28 Nov 2015 01:39:08 +0000 Subject: Rakefile: add missing
for Atom feed Apparently this is needed for proper XHTML rendering in iceweasel? --- Rakefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Rakefile b/Rakefile index b214af3..0af6360 100644 --- a/Rakefile +++ b/Rakefile @@ -51,9 +51,13 @@ task :news_atom do x.email tag[:tagger_email] } url = "#{cgit_url}/tag/?id=#{tag[:tag]}" - x.link :rel => "alternate", :type => "text/html", :href =>url + x.link :rel => "alternate", :type => "text/html", :href => url x.id url - x.content(:type =>:xhtml) { x.pre tag[:body] } + x.content(:type =>:xhtml) do + x.div(:xmlns => 'http://www.w3.org/1999/xhtml') do + x.pre tag[:body] + end + end end end end -- cgit v1.2.3-24-ge0c7