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 = "
test
".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.