Skip to content
New issue

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

Call maybe_escape_html directly in compiled call method #2151

Merged
merged 9 commits into from
Nov 1, 2024

Conversation

joelhawksley
Copy link
Member

What are you trying to accomplish?

This PR refactors the logic for calling maybe_escape_html to be embedded in the template call method instead when necessary instead of the existing roundabout approach of trying to determine whether it should be called at runtime.

Copy link
Contributor

@camertron camertron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, makes sense to me 👍

@joelhawksley joelhawksley enabled auto-merge (squash) November 1, 2024 17:10
@joelhawksley joelhawksley merged commit fb2e917 into main Nov 1, 2024
19 checks passed
@joelhawksley joelhawksley deleted the inline-maybe_html branch November 1, 2024 17:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants