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
Replace Variables with issue as empty String #998
Comments
I do not know if I understand your problem correctly but as this setup is using OGNL please make sure to include the adequate dependency of It is unclear what your When you add <p>Hello, [[${customer} ? ${customer.name}]] !</p> This will succeed even when |
Hi,
I have a HTML Text, which will have some Thymeleaf variables.
If I have some unknown variables etc. I will get always an error message an the String will not replace with variables anymore.
I would like to replace the values for which I got an error just with an empty String ("").
How can I do this?
Here a simple test: customer. (with dot) is an issue for Thymeleaf, therefore I will get an error.
`public static void main(String[] args) {
`
Any ideas?
The text was updated successfully, but these errors were encountered: