Js returns thymeleaf tag

I need to format the output and return the content with the thymeleaf tag, but the content is displayed intact on the page and is not parsed.

    function formatter(value) {
        return "<a th:href="" + value + "">" + value + "</a>";
    }

the page shows

<a th:href="xxx">xxx</a>

visible, there is no resolution. Why? What can I do to analyze it?

Jun.28,2021
Menu