工作小总结

关于thymeleaf 把 富文本内容或者textarea进行带格式展示 :utext

比如原格式为:<p><span th:text='${case.introduce}'></span></p>这样输出会有一定问题;展示成:这个时候的格式直接输出了需要改为:<p><span th:utext='${case.introduce}'></span>

比如原格式为:

<p><span th:text='${case.introduce}'></span></p

原创不易,完成人机校验,阅读全文

相关推荐