diff options
-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. |