-
Notifications
You must be signed in to change notification settings - Fork 12
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
Mark function doesn't work when capitalize filter is applied #49
Comments
Yeah, most string filters output strings, not twig objects. The hacky way to do this would be I don't think this will be "fixed" since this is really twig core code, and it's "working as designed" |
It usually makes more sense to do |
@xiaohutai That'll transform the whole string, right? So not the same as |capitalize, right? Usually capitalizing a whole string is a stylistic choice, but capitalizing the first letter is an indication of the meaning, right? |
@SahAssar You're right! I misinterpreted it. There's a |
Left using capitalize, right not using capitalize
The text was updated successfully, but these errors were encountered: