ueditor显示内容末尾有多余标记的解决

问题:数据库

  最近用了百度的ueditor文本编辑器,出现一个问题,用ueditor存数据到数据库都正常,可是从新读取后赋值到ueditor却会在末尾多出 "> 这两个符号。赋值方式以下:编辑器

<script id="content" type="text/plain" style="width:700px;" name="content" value="${user.name}" ></script>

 

解决方法:code

找了好久后来发现是对ueditor的赋值方式有问题,修改成以下方式:blog

<script id="content" type="text/plain" style="width:700px;" name="content" >${user.name}</script>
相关文章
相关标签/搜索