티스토리 뷰

728x90

https://github.com/thymeleaf/thymeleaf/issues/147

 

Double underscore removed and exception processing _ code · Issue #147 · thymeleaf/thymeleaf

Double underscore are removed when its expression is processed: <span th:attr="atributo='test__1__'">blabla</span> generates <span atributo="test1">blabla</span> instead of <span atributo="test__1_...

github.com

name.replaceAll("__([^_]+)__", "$1"),
728x90
댓글