Skip to content

Commit

Permalink
Escape the title of the Note.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Apr 21, 2009
1 parent 6331565 commit b66940c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/notes.erb
Expand Up @@ -2,7 +2,7 @@
<% @notes.each do |note| %>
<p>
<a href="/notes/<%= note.id %>" target="_blank">
<%= note.short_title %>
<%= escape_html note.short_title %>
</a>
</p>
<% end %>
Expand Down

0 comments on commit b66940c

Please sign in to comment.