数据库表里存的是富文本内容,含有html代码,显示在页面时也是html代码

用如下:

<#noescape>
${softDes!''}
</#noescape>
参考 http://www.kerneler.com/freemarker2.3.23/ref_directive_escape.html

相关文章:

  • 2022-12-23
  • 2021-10-18
  • 2021-11-11
  • 2021-10-18
  • 2021-10-02
  • 2021-11-28
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-22
  • 2022-12-23
  • 2021-09-26
  • 2022-12-23
  • 2022-12-23
  • 2021-10-31
相关资源
相似解决方案