Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #10 from litzomatic/patch-1

Fix escaping of <i> tags
  • Loading branch information...
commit a115b6c93fb2a4a14d317acb47f716dba6e456dc 2 parents 16cdda8 + d1ca9b9
@maccman maccman authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  app/views/item.jeco
View
3  app/views/item.jeco
@@ -1,3 +1,4 @@
<div class="item">
- <%= @name or "<i>No Name</i>" %>
+ <%= @name %>
+ <%- "<i>No Name</i>" unless @name %>
</div>

0 comments on commit a115b6c

Please sign in to comment.
Something went wrong with that request. Please try again.