Trying to write [/] in a .txt template

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Trying to write [/] in a .txt template

q9929t
Hi,
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.

Thanks