Skip to content

Commit

Permalink
Properly escape the double spaces indenting feed hierarchy. Close #90.
Browse files Browse the repository at this point in the history
  • Loading branch information
bamnet committed May 17, 2012
1 parent 2134a23 commit 9fb100e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/feeds/_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<div class="clearfix">
<%= f.label t(:parent) %>
<div class="input">
<%= f.select :parent_id, parent_feeds.collect{|c| [raw("&nbsp;&nbsp;")* c.depth + c.name, c.id ]}, {:include_blank => true }, :class => "span6" %>
<%= f.select :parent_id, parent_feeds.collect{|c| [("&nbsp; &nbsp;"*c.depth).html_safe + c.name, c.id ]}, {:include_blank => true }, :class => "span6" %>
</div>
</div>
<% end %>
Expand Down

0 comments on commit 9fb100e

Please sign in to comment.