問題:數據庫
最近用了百度的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>