diff --git a/src/case/ztree/0.treeview.js b/src/case/ztree/0.treeview.js index ea9f22b54..2ee02010f 100644 --- a/src/case/ztree/0.treeview.js +++ b/src/case/ztree/0.treeview.js @@ -368,7 +368,8 @@ BI.TreeView = BI.inherit(BI.Pane, { root: true, keyword: o.paras.keyword }, newNode, { - type: "bi.text" + type: "bi.text", + text: BI.replaceAll(newNode.text, "\n", " ") })); var fragment = BI.Widget._renderEngine.createElement("
"); fragment.append(text.element[0]);