Skip to content

Commit fc3e6cc

Browse files
committed
fix: reduce NODE_LIMIT to 10k
1 parent 3a7ea4b commit fc3e6cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/paste-markdown-html.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function convertToMarkdown(plaintext: string, walker: TreeWalker): string {
4848
let markdown = plaintext
4949
let markdownIgnoreBeforeIndex = 0
5050
let index = 0
51-
const NODE_LIMIT = 100000
51+
const NODE_LIMIT = 10000
5252

5353
// Walk through the DOM tree
5454
while (currentNode && index < NODE_LIMIT) {

0 commit comments

Comments
 (0)