Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit b4b6832

Browse files
feat: clean html comment in content to parse it in the remote
1 parent 8249e62 commit b4b6832

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

remote/src/app/utils/parse-slides.utils.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ export class ParseSlidesUtils {
7676
}
7777

7878
result = result.replace(/<a slot="actions"(.*?)<\/a>/g, '');
79+
result = result.replace(/<!--.*?-->/g, '');
7980

8081
resolve(result);
8182
});

0 commit comments

Comments
 (0)