更新 code 尾部空白符

pull/1359/head
贤心 2023-08-29 10:36:38 +08:00
parent 5bf9cdc72b
commit 706323fdfb
1 changed files with 3 additions and 4 deletions

View File

@ -306,7 +306,6 @@ layui.define(['lay', 'util', 'element', 'form'], function(exports){
// 转义 HTML 标签
if(options.encode) html = util.escape(html); // 编码
html = html.replace(/[\r\t\n]+/g, '</li><li>'); // 转义换行符