diff options
author | r7kamura <r7kamura@gmail.com> | 2019-04-18 17:44:22 +0900 |
---|---|---|
committer | r7kamura <r7kamura@gmail.com> | 2019-04-19 06:32:55 +0900 |
commit | 9dd254c2a20b393d68c9db4b17a15a672e2a2c16 (patch) | |
tree | ce7a58117e7bd4936ea2c1993eb9b1f085796ac9 /activesupport/CHANGELOG.md | |
parent | 98a75b46468c45d4477949ed267bb8823297d815 (diff) | |
download | rails-9dd254c2a20b393d68c9db4b17a15a672e2a2c16.tar.gz rails-9dd254c2a20b393d68c9db4b17a15a672e2a2c16.tar.bz2 rails-9dd254c2a20b393d68c9db4b17a15a672e2a2c16.zip |
Preserve html_safe? status on ActiveSupport::SafeBuffer#*
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 597e7b8929..301b0c8822 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,15 @@ +* Preserve `html_safe?` status on `ActiveSupport::SafeBuffer#*`. + + Before: + + ("<br />".html_safe * 2).html_safe? #=> nil + + After: + + ("<br />".html_safe * 2).html_safe? #=> true + + *Ryo Nakamura* + * Calling test methods with `with_info_handler` method to allow minitest-hooks plugin to work. |