Skip to content

Commit

Permalink
Add raw to all comment fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
boveus committed Sep 4, 2017
1 parent 21944cf commit 677234d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/main/comments.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<article>
<form><input class=button type=button value="Random Comment" onClick="window.location.reload()"></form>
<br />
In the year <%= raw @sighting.year %> in <%= @sighting.location%>
In the year <%= raw @sighting.year %> in <%= raw @sighting.location%>
someone reported a <%= raw @sighting.shape %>-shaped UFO with the following description: <br /> <br />
<%= raw @sighting.comments %>
</article>
Expand Down

0 comments on commit 677234d

Please sign in to comment.