Cannot use th:text in content template

HTMLHeadDecorator prevents from using a "th:text" in the
content template.
Added a test case to demonstrate that.
Note that the same test case works when using th:utext.