<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/erb/escape, branch v4.0.2</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>[ruby/erb] html_escape: refactor redundant if</title>
<updated>2025-10-13T14:48:58+00:00</updated>
<author>
<name>Sharon Rosner</name>
<email>sharon@noteflakes.com</email>
</author>
<published>2025-10-13T14:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d11df4172ef203425fd7ee773b1e328b14da43c8'/>
<id>d11df4172ef203425fd7ee773b1e328b14da43c8</id>
<content type='text'>
(https://github.com/ruby/erb/pull/88)

https://github.com/ruby/erb/commit/c231ced3f4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/88)

https://github.com/ruby/erb/commit/c231ced3f4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Fix integer overflow</title>
<updated>2025-10-12T04:57:43+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2025-10-12T04:50:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=7cc3191ea1d8cb637e65cd6c2e9229de0e627643'/>
<id>7cc3191ea1d8cb637e65cd6c2e9229de0e627643</id>
<content type='text'>
Fix https://github.com/ruby/erb/pull/87

https://github.com/ruby/erb/commit/75764f022b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix https://github.com/ruby/erb/pull/87

https://github.com/ruby/erb/commit/75764f022b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] html_escape: Avoid buffer allocation for strings with no</title>
<updated>2025-10-11T22:36:21+00:00</updated>
<author>
<name>Sharon Rosner</name>
<email>sharon@noteflakes.com</email>
</author>
<published>2025-10-11T22:35:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fa54a9c9e58fa810ccef9eef86dd7ba8f1763f2d'/>
<id>fa54a9c9e58fa810ccef9eef86dd7ba8f1763f2d</id>
<content type='text'>
escapable character
(https://github.com/ruby/erb/pull/87)

This change improves reduces allocations and makes `html_escape` ~35% faster in
a benchmark with escaped strings taken from the `test_html_escape` test in
`test/test_erb.rb`.

- Perform buffer allocation on first instance of escapable character.
- Instead of copying characters one at a time, copy unescaped segments using
  `memcpy`.

https://github.com/ruby/erb/commit/aa482890fe
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
escapable character
(https://github.com/ruby/erb/pull/87)

This change improves reduces allocations and makes `html_escape` ~35% faster in
a benchmark with escaped strings taken from the `test_html_escape` test in
`test/test_erb.rb`.

- Perform buffer allocation on first instance of escapable character.
- Instead of copying characters one at a time, copy unescaped segments using
  `memcpy`.

https://github.com/ruby/erb/commit/aa482890fe
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Declare escape functions as Ractor-safe</title>
<updated>2025-07-15T16:30:55+00:00</updated>
<author>
<name>John Hawthorn</name>
<email>john.hawthorn@shopify.com</email>
</author>
<published>2025-07-15T16:30:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=71d4518c59fa4462bfdd2be015f617febdb7dffd'/>
<id>71d4518c59fa4462bfdd2be015f617febdb7dffd</id>
<content type='text'>
(https://github.com/ruby/erb/pull/63)

https://github.com/ruby/erb/commit/fdd45c0d89
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/63)

https://github.com/ruby/erb/commit/fdd45c0d89
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] [DOC] Make documentation 100%</title>
<updated>2025-05-12T13:57:24+00:00</updated>
<author>
<name>Nobuyoshi Nakada</name>
<email>nobu@ruby-lang.org</email>
</author>
<published>2024-09-18T17:41:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=311b9352a1fb50eef0122b0eeede3494648fcf8f'/>
<id>311b9352a1fb50eef0122b0eeede3494648fcf8f</id>
<content type='text'>
https://github.com/ruby/erb/commit/9152ce8db4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/erb/commit/9152ce8db4
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Skip building a native extension for JRuby</title>
<updated>2024-01-04T22:33:16+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2024-01-04T22:32:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d20c609465b67e0378dac108ec0d352e434c8b32'/>
<id>d20c609465b67e0378dac108ec0d352e434c8b32</id>
<content type='text'>
https://github.com/ruby/erb/commit/f0f68baf6b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/erb/commit/f0f68baf6b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Skip using the extension for truffleruby as well</title>
<updated>2022-11-27T06:30:48+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-27T06:30:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=d2c62426e5f5a53fd17e07e789a92994be4351ed'/>
<id>d2c62426e5f5a53fd17e07e789a92994be4351ed</id>
<content type='text'>
(https://github.com/ruby/erb/pull/39)

* Skip using the extension for truffleruby as well

* Just skip building the C extension for TruffleRuby

* Skip rake compile for truffleruby

* Use resolve_feature_path

* Revert "Use resolve_feature_path"

This reverts commit https://github.com/ruby/erb/commit/acc1e0c0ffaf.

* Use resolve_feature_path with LoadError guard

https://github.com/ruby/erb/commit/85dcb08439
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/39)

* Skip using the extension for truffleruby as well

* Just skip building the C extension for TruffleRuby

* Skip rake compile for truffleruby

* Use resolve_feature_path

* Revert "Use resolve_feature_path"

This reverts commit https://github.com/ruby/erb/commit/acc1e0c0ffaf.

* Use resolve_feature_path with LoadError guard

https://github.com/ruby/erb/commit/85dcb08439
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Define ERB::Escape module</title>
<updated>2022-11-26T05:32:25+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-26T05:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=574896a0ce99ab00676aa5ff2fabd3dcf8d49154'/>
<id>574896a0ce99ab00676aa5ff2fabd3dcf8d49154</id>
<content type='text'>
(https://github.com/ruby/erb/pull/38)

Close #32</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/38)

Close #32</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Keep ERB::Util#html_escape private</title>
<updated>2022-11-25T08:54:18+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-25T08:53:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=addb1cbbfd93d30e4752ec63b2d5ff96a13fac3d'/>
<id>addb1cbbfd93d30e4752ec63b2d5ff96a13fac3d</id>
<content type='text'>
ERB::Util.html_escape has been public, but ERB::Util#html_escape had
been private.

https://github.com/ruby/erb/commit/e62210bf56
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
ERB::Util.html_escape has been public, but ERB::Util#html_escape had
been private.

https://github.com/ruby/erb/commit/e62210bf56
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/erb] Rename erb.so to erb/escape.so</title>
<updated>2022-11-24T23:22:00+00:00</updated>
<author>
<name>Takashi Kokubun</name>
<email>takashikkbn@gmail.com</email>
</author>
<published>2022-11-24T23:21:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=c480f589c29c4e7f4414ee4b01513bf2bd2e0cbc'/>
<id>c480f589c29c4e7f4414ee4b01513bf2bd2e0cbc</id>
<content type='text'>
(https://github.com/ruby/erb/pull/35)

https://github.com/ruby/erb/commit/1280046952
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(https://github.com/ruby/erb/pull/35)

https://github.com/ruby/erb/commit/1280046952
</pre>
</div>
</content>
</entry>
</feed>
