diff --git a/src/webpage/markdown.ts b/src/webpage/markdown.ts index f99d634..74e2715 100644 --- a/src/webpage/markdown.ts +++ b/src/webpage/markdown.ts @@ -701,10 +701,10 @@ class MarkDown { if ( last && last instanceof HTMLElement && - last.contentEditable && - !(last instanceof HTMLBRElement) + (last.contentEditable === "false" || last instanceof HTMLBRElement) ) { span.append(current); + console.log(current); } return span; }