]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/changeset/list.atom.builder
Make subtitle an HTML element.
[rails.git] / app / views / changeset / list.atom.builder
index 16f2cbfdad5d9d08978ed0bbbb5229756d4dc7f4..7c1cf8bda0ad9d9027a6fe2a2670e109f4a7ef79 100644 (file)
@@ -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"