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
I do not sure if this is a bug or a feature (according to #47 (comment)). But if I execute:
import airspeed t = airspeed.Template(""" #set($some=" some ") $some.trim() $some.strip() """) people = [{'name': 'Bill', 'age': 100}, {'name': 'Bob', 'age': 90}, {'name': 'Mark', 'age': 25}] print(t.merge(locals()))
the output is:
$some.trim() some
so, for some reason the trim method used to remove white spaces in Java need to be changed to its Python equivalent.
The text was updated successfully, but these errors were encountered:
There are some extra string methods already, see here — if you'd like to submit a PR with a couple of little tests, I'd be happy to incorporate it.
Sorry, something went wrong.
No branches or pull requests
I do not sure if this is a bug or a feature (according to #47 (comment)). But if I execute:
the output is:
so, for some reason the trim method used to remove white spaces in Java need to be changed to its Python equivalent.
The text was updated successfully, but these errors were encountered: