mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-12-16 22:50:13 +01:00
This commit is contained in:
parent
c3f651b6c9
commit
dd86b42b7d
1 changed files with 1 additions and 1 deletions
|
|
@ -431,7 +431,7 @@ export const onTransaction = (protyle: IProtyle, operation: IOperation, focus: b
|
|||
const attrsResult: IObject = {};
|
||||
Object.keys(data.new).forEach(key => {
|
||||
attrsResult[key] = data.new[key];
|
||||
const escapeHTML = data.new[key];
|
||||
const escapeHTML = Lute.EscapeHTMLStr(data.new[key]);
|
||||
if (key === "bookmark") {
|
||||
nodeAttrHTML += `<div class="protyle-attr--bookmark">${escapeHTML}</div>`;
|
||||
} else if (key === "name") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue