asdad
This commit is contained in:
@@ -185,7 +185,7 @@
|
||||
wrapper.childNodes.forEach((node) => {
|
||||
if (node.nodeType === 3) {
|
||||
const text = node.textContent || '';
|
||||
if (text) newComps.push({ type: 'textnode', content: text });
|
||||
newComps.push({ type: 'textnode', content: text });
|
||||
} else if (node.nodeType === 1) {
|
||||
const tag = node.tagName ? node.tagName.toLowerCase() : '';
|
||||
if (tag === 'br') {
|
||||
|
||||
Reference in New Issue
Block a user