rss: comments link must be encoded as well

This commit is contained in:
joshua stein 2012-11-28 15:18:41 -06:00
parent 91b1255d96
commit ad762d233a

View file

@ -17,9 +17,8 @@
<description>
<%= raw coder.encode(story.markeddown_description, :decimal) %>
<% if story.url.present? %>
<p>
<%= raw link_to("Comments", story.comments_url) %>
</p>
<%= raw coder.encode("<p>" +
link_to("Comments", story.comments_url) + "</p>", :decimal) %>
<% end %>
</description>
<% story.taggings.each do |tagging| %>