We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10cd2f7 commit 0f0b4c9Copy full SHA for 0f0b4c9
src/markdown-converter.ts
@@ -34,7 +34,10 @@ export class MarkdownConverter {
34
35
// Parse HTML and convert to Telegraph nodes using linkedom
36
const parser = new DOMParser();
37
- const document = parser.parseFromString(`<div>${cleanedHtml}</div>`, "text/html");
+ const document = parser.parseFromString(
38
+ `<div>${cleanedHtml}</div>`,
39
+ "text/html"
40
+ );
41
const container = document.querySelector("div");
42
43
if (container) {
0 commit comments