diff --git a/app/src/types/protyle.d.ts b/app/src/types/protyle.d.ts
index fd39c7363..2737f678e 100644
--- a/app/src/types/protyle.d.ts
+++ b/app/src/types/protyle.d.ts
@@ -132,6 +132,8 @@ declare class Lute {
public static GetHeadingID(node: ILuteNode): string;
+ public static BlockDOM2Content(html: string): string;
+
private constructor();
public SetHeadingID(enable: boolean): void;
diff --git a/app/src/util/Tree.ts b/app/src/util/Tree.ts
index b547d1196..c1d1c3c0a 100644
--- a/app/src/util/Tree.ts
+++ b/app/src/util/Tree.ts
@@ -76,7 +76,7 @@ ${item.label ? "data-label='" + item.label + "'" : ""}>
${iconHTML}
- ${item.name}
+ ${item.name}
${countHTML}
`;
if (item.children && item.children.length > 0) {
@@ -121,7 +121,7 @@ data-def-path="${item.defPath}">
${iconHTML}
- ${item.content}
+ ${item.content}
${countHTML}
${this.blockExtHTML || ""}
`;