This project is archived and is in readonly mode.
Changeset [1814298d7590988d354955efdb0bc495b359293b] by Josh Kalderimis
Revision 1814298d7590988d354955efdb0bc495b359293b,
committed by Josh Kalderimis
· February 10th, 2011 @ 03:51 PM
Removed Array#safe_join in AS core_ext and moved it to a view helper with the same same. This also changes how safe_join works, if items or the separator are not html_safe they are html_escape'd, a html_safe string is always returned.
Signed-off-by: José Valim jose.valim@gmail.com
https://github.com/rails/rails/commit/1814298d7590988d354955efdb0bc...
7 changed files
-
A
actionpack/lib/action_view/helpers/output_safety_helper.rb -
A
actionpack/test/template/output_safety_helper_test.rb -
R
actionpack/lib/action_view/helpers/raw_output_helper.rb -
R
actionpack/test/template/raw_output_helper_test.rb -
M
actionpack/lib/action_view/helpers.rb -
M
activesupport/lib/active_support/core_ext/string/output_safety.rb -
M
activesupport/test/core_ext/string_ext_test.rb