I have a text template where I have to put this line [/]. When parsing, thymeleaf throws an error
Malformed template: unnamed closing element is never opened
Since thymeleaf uses [/] to indicate closing element.
I was able to write it out using two variables "left" and "right" which denoted "[" and "]" and substitute it. But is there any easy way to make it work.