Skip to content

Commit 4243c92

Browse files
committed
Escape the HTML of description on feedpreview pages (#98)
1 parent 736181c commit 4243c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/feedpreview.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
</header>
6363
<div>
6464
<div>
65-
<%= item.summary&.to_s %>
65+
<%= h item.summary&.to_s %>
6666
</div>
6767
<div>
6868
<%= h item.content&.to_s if item.content&.gsub(/\s+/, "")&.to_s != item.summary&.gsub(/\s+/, "")&.to_s %>

0 commit comments

Comments
 (0)