From 0348316d0b2da528b9f529a9a3de900f419730ed Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 4 Jul 2009 12:15:29 +0000 Subject: [PATCH 1/1] Make subtitle an HTML element. --- app/views/changeset/list.atom.builder | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/changeset/list.atom.builder b/app/views/changeset/list.atom.builder index 16f2cbfda..7c1cf8bda 100644 --- a/app/views/changeset/list.atom.builder +++ b/app/views/changeset/list.atom.builder @@ -3,7 +3,11 @@ atom_feed(:language => I18n.locale, :schema_date => 2009, :root_url => url_for(params.merge({ :only_path => false, :format => nil })), "xmlns:georss" => "http://www.georss.org/georss") do |feed| feed.title @title - feed.subtitle @description + + feed.subtitle :type => 'xhtml' do |xhtml| + xhtml.p @description + end + feed.updated @edits.map {|e| [e.created_at, e.closed_at].max }.max feed.icon "http://#{SERVER_URL}/favicon.ico" feed.logo "http://#{SERVER_URL}/images/mag_map-rss2.0.png" -- 2.43.2