stop eating baskspaces on firefox

This commit is contained in:
MathMan05 2025-04-09 15:06:27 -05:00
parent 2ede633dfa
commit 9a9ee173ca

View file

@ -701,10 +701,10 @@ class MarkDown {
if ( if (
last && last &&
last instanceof HTMLElement && last instanceof HTMLElement &&
last.contentEditable && (last.contentEditable === "false" || last instanceof HTMLBRElement)
!(last instanceof HTMLBRElement)
) { ) {
span.append(current); span.append(current);
console.log(current);
} }
return span; return span;
} }