rss: comments link must be encoded as well
This commit is contained in:
parent
91b1255d96
commit
ad762d233a
|
@ -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| %>
|
||||
|
|
Loading…
Reference in a new issue