Permalink
Browse files

Remove HTML escaping from Record Tag Helper docs.

  • Loading branch information...
1 parent 0cf7b2f commit 6822f39f67729884d7911b42542c965434a22250 @semaperepelitsa semaperepelitsa committed Apr 22, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 actionpack/lib/action_view/helpers/record_tag_helper.rb
View
6 actionpack/lib/action_view/helpers/record_tag_helper.rb
@@ -10,7 +10,7 @@ module RecordTagHelper
# relate to the specified Active Record object. Usage example:
#
# <%= div_for(@person, :class => "foo") do %>
- # <%=h @person.name %>
+ # <%= @person.name %>
# <% end %>
#
# produces:
@@ -25,8 +25,8 @@ def div_for(record, *args, &block)
# that relate to the specified Active Record object. For example:
#
# <%= content_tag_for(:tr, @person) do %>
- # <td><%=h @person.first_name %></td>
- # <td><%=h @person.last_name %></td>
+ # <td><%= @person.first_name %></td>
+ # <td><%= @person.last_name %></td>
# <% end %>
#
# would produce the following HTML (assuming @person is an instance of

0 comments on commit 6822f39

Please sign in to comment.