]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notes/feed.rss.builder
Remove max-width restriction on note warning
[rails.git] / app / views / notes / feed.rss.builder
index f17be09cbf4b34d2d8fc81a6d9620905427017cc..df35b70d3bd4fb158a98033e0d40d670272e4fe3 100644 (file)
@@ -25,7 +25,9 @@ xml.rss("version" => "2.0",
         xml.link url_for(:controller => "browse", :action => "note", :id => comment.note.id, :only_path => false)
         xml.guid url_for(:controller => "browse", :action => "note", :id => comment.note.id, :only_path => false)
 
         xml.link url_for(:controller => "browse", :action => "note", :id => comment.note.id, :only_path => false)
         xml.guid url_for(:controller => "browse", :action => "note", :id => comment.note.id, :only_path => false)
 
-        xml.description render(:partial => "entry", :object => comment, :formats => [ :html ])
+        xml.description do
+          xml.cdata! render(:partial => "entry", :object => comment, :formats => [ :html ])
+        end
 
         if comment.author
           xml.author comment.author.display_name
 
         if comment.author
           xml.author comment.author.display_name