mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Update CHANGELOG for SafetyBuffer slice access
Co-authored-by: no-itsbackpack <no-itsbackpack@github.com>
This commit is contained in:
parent
0a1567793b
commit
1d42a661d8
1 changed files with 7 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue