spring.thymeleaf.mode=LEGACYHTML5
maven依赖 <dependency> <groupId>net.sourceforge.nekohtml</groupId> <artifactId>nekohtml</artifactId> </dependency>