1

I frequently use

<myElem th:if="${myVar}" th:text="${myVar}">dummy</myElem>

Is there a more concise syntax with less repetition?

Stefan K.
  • 7,701
  • 6
  • 52
  • 64

1 Answers1

1

No, this is the short syntax you can use to render an html tag

Wilson Campusano
  • 616
  • 9
  • 21