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
[Bug] Filters - some not working #244
Comments
I guess, mbstring extension is missing in your PHP environment. Check out the latte's repo composer.json, the suggest section. |
Ok, i installed the mbstring ext and you are right. "require": {
"ext-json": "*",
"ext-tokenizer": "*",
"php": ">=7.1 <8.1"
}, By the way, great template engine. :) |
Version: 2.9.1, 2.5.x
PHP: 7.4.x
OS: Linux
Bug Description
When tried some examples of docs like filters, the output is an error.
Filters that i tried and give me an error: capitalize, webalize and upper.
output error:
Steps To Reproduce
A stand alone installation without the Nette framework.
The same as the docs, for capitalize filter:
index.php page:
views/template.latte:
Expected Behavior
I expected the code to work, by capitalizing each word
The text was updated successfully, but these errors were encountered: