Skip to content

Commit e472f71

Browse files
committed
🎨 #14325
1 parent 9a5e80a commit e472f71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/util/newFile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ export const newFileBySelect = (protyle: IProtyle, selectText: string, nodeEleme
248248
path: hPath,
249249
notebook: targetNotebookId
250250
}, (idResponse) => {
251-
const refText = escapeHtml(newFileName.substring(0, window.siyuan.config.editor.blockRefDynamicAnchorTextMaxLen));
251+
const refText = newFileName.substring(0, window.siyuan.config.editor.blockRefDynamicAnchorTextMaxLen);
252252
if (idResponse.data && idResponse.data.length > 0) {
253253
protyle.toolbar.setInlineMark(protyle, "block-ref", "range", {
254254
type: "id",

0 commit comments

Comments
 (0)