We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi!
I am just wondering if you've already thought about FILTERS for templates that would work the same way like for rendering values.
Filter would look like like this: "stripcomments" => function($content) {return preg_replace('/<!--(.*)-->/Uis', '', $content)}
"stripcomments" => function($content) {return preg_replace('/<!--(.*)-->/Uis', '', $content)}
The text was updated successfully, but these errors were encountered:
I hadn't thought about it. To be honest, I've never really felt the need. Can you share a bit more about your use case?
Sorry, something went wrong.
With these filters, it is possible to minimize the template I was write here #355
why don't you just minify the end result after mustache is done processing?
No branches or pull requests
Hi!
I am just wondering if you've already thought about FILTERS for templates that would work the same way like for rendering values.
Filter would look like like this:
"stripcomments" => function($content) {return preg_replace('/<!--(.*)-->/Uis', '', $content)}
The text was updated successfully, but these errors were encountered: