public
Description: Ruby on Rails
Homepage: http://rubyonrails.org
Clone URL: git://github.com/rails/rails.git
Search Repo:
set ActiveSupport.escape_html_entities_in_json = false for new rails apps

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9239 
5ecf4fe2-1ee6-0310-87b1-e25e094e27de
technoweenie (author)
Mon Apr 07 20:47:08 -0700 2008
commit  7e94cf7f4d4c865a84cf835349bdb51c5e71a842
tree    6642478351c8580858eb336e6b50249ecb20b0c1
parent  605196c4483bbba932804e78cd6d4166f4e29bbb
...
9
10
11
 
 
 
 
...
9
10
11
12
13
14
15
0
@@ -9,4 +9,8 @@
0
 
0
 # Use ISO 8601 format for JSON serialized times and dates
0
 ActiveSupport.use_standard_json_time_format = true
0
+
0
+# Don't escape HTML entities in JSON, leave that for the #json_escape helper
0
+# if you're including raw json in an HTML page.
0
+ActiveSupport.escape_html_entities_in_json = false

Comments

    No one has commented yet.