You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that starting with version 5 of haml, some lazy-loading behavior changed so that the escape_haml option set in a Rails initializer will be re-set to true in non-development environments (e.g., production).
As mentioned in the linked issue-comment, this is a relatively dangerous bug because it can produce working code in development that breaks only when executed in production.
Here is a minimal demonstration Bash script that reproduces the issue consistently:
This issue was originally reported by @Justin-Maxwell in #940 (comment).
It seems that starting with version 5 of
haml
, some lazy-loading behavior changed so that theescape_haml
option set in a Rails initializer will be re-set totrue
in non-development
environments (e.g.,production
).As mentioned in the linked issue-comment, this is a relatively dangerous bug because it can produce working code in development that breaks only when executed in production.
Here is a minimal demonstration Bash script that reproduces the issue consistently:
haml.sh
:The text was updated successfully, but these errors were encountered: