aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorVincent Woo <rails@undefinedrange.com>2008-11-18 22:29:16 -0800
committerPratik Naik <pratiknaik@gmail.com>2008-11-26 14:34:47 +0100
commitd18bfa2a4165297dbf5e6b1fff1731fefa9dd135 (patch)
tree36b1348916e6f17d5d84873cdaa352a0328ca79a /actionpack
parent55d70f3a9848f5c3cafe99f9d3553418e4b6045f (diff)
downloadrails-d18bfa2a4165297dbf5e6b1fff1731fefa9dd135.tar.gz
rails-d18bfa2a4165297dbf5e6b1fff1731fefa9dd135.tar.bz2
rails-d18bfa2a4165297dbf5e6b1fff1731fefa9dd135.zip
Tiny doc example change for escape_once()
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/lib/action_view/helpers/tag_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/tag_helper.rb b/actionpack/lib/action_view/helpers/tag_helper.rb
index d37ca766af..72d761581a 100644
--- a/actionpack/lib/action_view/helpers/tag_helper.rb
+++ b/actionpack/lib/action_view/helpers/tag_helper.rb
@@ -98,7 +98,7 @@ module ActionView
# 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")