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
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.

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