Remove HTML tags in Freemarker Template

前端 未结 2 1165
半阙折子戏
半阙折子戏 2021-01-24 03:43

I\'ve got a freemarker template that displays the same string in a context where HTML is allowed as well as a context where it is not.

Is there a built-in in Freemarker

2条回答
  •  孤街浪徒
    2021-01-24 04:07

    There isn't anything built in as of 2.3.28, so yes, you have to create your own.

提交回复
热议问题