We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The code at https://github.com/judofyr/temple/blob/master/lib/temple/filters/encoding.rb#L13 doesn't work correctly for Ruby 3.4 chilled strings. You need to switch from s = s.dup if s.frozen? to s = +s, similar to what I did in Erubi (jeremyevans/erubi@6aa6f52, though you don't need to worry about the fallback as temple is Ruby 2.5+). This was found by the tilt specs.
s = s.dup if s.frozen?
s = +s
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The code at https://github.com/judofyr/temple/blob/master/lib/temple/filters/encoding.rb#L13 doesn't work correctly for Ruby 3.4 chilled strings. You need to switch from
s = s.dup if s.frozen?
tos = +s
, similar to what I did in Erubi (jeremyevans/erubi@6aa6f52, though you don't need to worry about the fallback as temple is Ruby 2.5+). This was found by the tilt specs.The text was updated successfully, but these errors were encountered: