Skip to content

Commit fbe5a82

Browse files
Kristján Oddssonimjohnbo
andauthored
actually push and don't join
Co-authored-by: John Bohannon <[email protected]>
1 parent 30ec916 commit fbe5a82

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
@@ -55,7 +55,7 @@ function transform(
5555
markdownParts.push(part.replace(textContent, transformer(element, args)))
5656
text = text.slice(index)
5757
}
58-
markdownParts.join(text)
58+
markdownParts.push(text)
5959
return markdownParts.join('')
6060
}
6161

0 commit comments

Comments
 (0)