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

Make default escape method overridable via extensions #312

Open
wants to merge 1 commit into
base: v3
Choose a base branch
from

Conversation

pine3ree
Copy link
Contributor

@pine3ree pine3ree commented Jun 12, 2023

A more elegant solution (now implemented in #314) would be to define the escape and e helper functions in an extension registered by default.
In this way it would be easier for developers to create version of escape methods with different signatures. I would keep the batch method in the Template class anyway.

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.

1 participant