aboutsummaryrefslogtreecommitdiffstats
path: root/version.rb
diff options
context:
space:
mode:
authorJon Jensen <jenseng@gmail.com>2014-01-08 20:50:06 -0700
committerJon Jensen <jenseng@gmail.com>2014-01-09 20:35:13 -0700
commit7ce68406934c50a2ce3079bea4fd34936388c26a (patch)
tree6e4cee29adfcf7bcdefc0ddf899e795355a58691 /version.rb
parent8a5b480ebb46215210294b87a7ed9f1d8a032312 (diff)
downloadrails-7ce68406934c50a2ce3079bea4fd34936388c26a.tar.gz
rails-7ce68406934c50a2ce3079bea4fd34936388c26a.tar.bz2
rails-7ce68406934c50a2ce3079bea4fd34936388c26a.zip
Clarify behavior of json_escape, update examples
The behavior of json_escape was fixed in 2f1c5789, but the doc changes and example in that commit incorrectly indicated that the return value would be html-safe. Since quotation marks are preserved, the raw value is not safe to use in other contexts (specifically HTML attributes).
Diffstat (limited to 'version.rb')
0 files changed, 0 insertions, 0 deletions