grails kindeditor 解析html

来源:互联网 发布:js 数字转二进制 编辑:程序博客网 时间:2024/06/07 18:48

用kindeditor编辑器保存的文字,带有html代码

显示的时候在

Config.groovy

scriptlet = 'html'
改为:

scriptlet = 'none'
在gsp文件里用
<%= content1 %>
显示

0 0
原创粉丝点击