Merge pull request #495 from meirotstein/textnode_newline_bug
use escaped field text for tree node
This commit is contained in:
commit
14f0956d7a
File diff suppressed because one or more lines are too long
|
@ -899,7 +899,7 @@ treemode._updateTreePath = function (pathNodes) {
|
|||
}
|
||||
|
||||
function getName(node) {
|
||||
return node.field || (isNaN(node.index) ? node.type : node.index);
|
||||
return node.fieldInnerText || node.field || (isNaN(node.index) ? node.type : node.index);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue