ext/cgi/escape.c uses C99 features, which cannot use before ruby 3.0.
- Designated Initializers for
html_escape_table
- Variable declaration after code in
optimized_escape_html
The latter is easy to make C89-compliant but the former needs to expand the table.
ext/cgi/escape.c uses C99 features, which cannot use before ruby 3.0.
html_escape_tableoptimized_escape_htmlThe latter is easy to make C89-compliant but the former needs to expand the table.