Use CDATA for note descriptions in the RSS feed
This commit is contained in:
parent
621cb8a1ef
commit
42b3f961a6
1 changed files with 3 additions and 1 deletions
|
@ -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.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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue