something like this:
picStr = "<div>" +
" <a href="/front/images/img_1.jpg" th:href="@{/front/images/img_1.jpg}"></a>" +
"</div>"";
but it seems that th doesn"t work here, he just writes there:
I have tried to write this way, and the result is still:
picStr = "<div th:inline="text">" +
" <a href="/front/images/img_1.jpg" [[/front/images/img_1.jpg]]></a>" +
"</div>";