Skip to content

Commit 4e048bf

Browse files
committed
Add PR references
1 parent 2809a54 commit 4e048bf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

NEWS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
## 4.0.0
44

5-
* Optimize `ERB::Util.html_escape`
5+
* Optimize `ERB::Util.html_escape` [#27](https://github.com/ruby/erb/pull/27)
66
* No longer duplicate an argument string when nothing is escaped.
77
* This makes `ERB::Util.html_escape` faster than `CGI.escapeHTML` in no-escape cases.
88
* It skips calling `#to_s` when an argument is already a String.
9-
* Define `ERB::Escape.html_escape` as an alias to `ERB::Util.html_escape`
9+
* Define `ERB::Escape.html_escape` as an alias to `ERB::Util.html_escape` [#38](https://github.com/ruby/erb/pull/38)
1010
* `ERB::Util.html_escape` is known to be monkey-patched by Rails.
1111
`ERB::Escape.html_escape` is useful when you want a non-monkey-patched version.
1212
* Drop deprecated `-S` option from `erb` command

0 commit comments

Comments
 (0)