mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 16:56:34 +01:00
title in fancytree needs to be escaped for HTML special characters
This commit is contained in:
@@ -37,7 +37,7 @@ const treeUtils = (function() {
|
||||
|
||||
const title = (prefix ? (prefix + " - ") : "") + noteTitle;
|
||||
|
||||
node.setTitle(title);
|
||||
node.setTitle(escapeHtml(title));
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user