Skip to content

Conversation

@pine3ree
Copy link
Contributor

  1. Provides a better solution than Make default escape method overridable via extensions #312
  2. Allows developer to use the e and escape helper function names for custom functions with different signatures (classic escape functions can be dropped, but also not loaded by default at all using a new engine constructor flag)
  3. Extends the escape method in a retro-compatible way to allow for more customization

pine3ree added 5 commits June 13, 2023 17:39
Signed-off-by: pine3ree <pine3ree@gmail.com>
…sion

by default

Signed-off-by: pine3ree <pine3ree@gmail.com>
escaper functions

Signed-off-by: pine3ree <pine3ree@gmail.com>
Signed-off-by: pine3ree <pine3ree@gmail.com>
Signed-off-by: pine3ree <pine3ree@gmail.com>
@pine3ree
Copy link
Contributor Author

A note/reminder for e418761
Maybe throwing a logic exception would be better if the $template property is not assigned. Template functions are meant to be called inside templates anyway.

Signed-off-by: pine3ree <pine3ree@gmail.com>
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