-
Notifications
You must be signed in to change notification settings - Fork 24
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
Trimming output? #44
Comments
Hi @barryo the trim was added to make comparing templates easier in unit tests, but I see more people using Foil as code builder, which was not what I had in mind, but fine :), so it makes sense. Spaces are not a big issue in PHP so I can remove that trim without backward compatibility issue. Don't really have time right know, happy to merge a PR to |
Hey @gmazzap - any plans to merge this into master / release? We're shipping IXP Manager with a foil-dev requirement for a while now. Thanks a million, |
I will merge very soon. |
Thanks for that @gmazzap ! |
Hi!
Thanks for creating Foil. It solves a big issue I had with Plates: lack of multi-folder support and so creating skinnable templates with Plates was not possible.
One thing with Foil that keeps biting me is this line which is:
Why
trim()
? Can this not be left up to the developer as desired? E.g. me! Or made an option? One of things we use foil for (as well as HTML templates) is building plain text configuration files and whitespace is important here.Thanks, Barry.
The text was updated successfully, but these errors were encountered: