diff options
author | Yumin Wong <itsbagpack@github.com> | 2018-09-06 15:17:18 -0500 |
---|---|---|
committer | Yumin Wong <itsbagpack@github.com> | 2018-09-06 15:17:18 -0500 |
commit | 1d42a661d8ff7795ebf9255cb7efd17de7b47fb0 (patch) | |
tree | f47278e35bed7831c791072d1317b0ef70809cff | |
parent | 0a1567793b556c50ae775128a75a96c2b929fb4d (diff) | |
download | rails-1d42a661d8ff7795ebf9255cb7efd17de7b47fb0.tar.gz rails-1d42a661d8ff7795ebf9255cb7efd17de7b47fb0.tar.bz2 rails-1d42a661d8ff7795ebf9255cb7efd17de7b47fb0.zip |
Update CHANGELOG for SafetyBuffer slice access
Co-authored-by: no-itsbackpack <no-itsbackpack@github.com>
-rw-r--r-- | activesupport/CHANGELOG.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 4ae02edd6a..6266eccc0d 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,10 @@ +* Maintain `html_safe?` on html_safe strings when sliced + + string = "<div>test</div>".html_safe + string[-1..1].html_safe? # => true + + *Elom Gomez, Yumin Wong* + * Add `Array#extract!`. The method removes and returns the elements for which the block returns a true value. |