title in fancytree needs to be escaped for HTML special characters

This commit is contained in:
azivner
2017-12-28 19:00:31 -05:00
parent 332fc16852
commit 6426157bb3
3 changed files with 8 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ const treeUtils = (function() {
const title = (prefix ? (prefix + " - ") : "") + noteTitle;
node.setTitle(title);
node.setTitle(escapeHtml(title));
}
return {