Skip to content
Browse files

Tiny doc example change for escape_once()

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
1 parent 55d70f3 commit d18bfa2a4165297dbf5e6b1fff1731fefa9dd135 Vincent Woo committed with lifo Nov 18, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_view/helpers/tag_helper.rb
View
2 actionpack/lib/action_view/helpers/tag_helper.rb
@@ -98,7 +98,7 @@ def cdata_section(content)
# Returns an escaped version of +html+ without affecting existing escaped entities.
#
# ==== Examples
- # escape_once("1 > 2 &amp; 3")
+ # escape_once("1 < 2 &amp; 3")
# # => "1 &lt; 2 &amp; 3"
#
# escape_once("&lt;&lt; Accept & Checkout")

0 comments on commit d18bfa2

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