diff options
author | Eric Wong <e@80x24.org> | 2015-11-28 01:39:08 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2015-11-28 01:39:08 +0000 |
commit | 49bd505dd305b381e4fff7f6d2e18d649a446e03 (patch) | |
tree | 0b8f25480f0cfdae1ccbbfd33e47b68668218029 | |
parent | 907c073738636b44919dc8d3c79a6cbf38114e64 (diff) | |
download | cmogstored-49bd505dd305b381e4fff7f6d2e18d649a446e03.tar.gz |
Rakefile: add missing <div> for Atom feed
Apparently this is needed for proper XHTML rendering in iceweasel?
-rw-r--r-- | Rakefile | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |