This commit is contained in:
2026-01-27 23:32:46 +01:00
parent cf051b421b
commit e1a79c22f3
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
1.1.28 1.1.29

View File

@@ -185,7 +185,7 @@
wrapper.childNodes.forEach((node) => { wrapper.childNodes.forEach((node) => {
if (node.nodeType === 3) { if (node.nodeType === 3) {
const text = node.textContent || ''; const text = node.textContent || '';
if (text) newComps.push({ type: 'textnode', content: text }); newComps.push({ type: 'textnode', content: text });
} else if (node.nodeType === 1) { } else if (node.nodeType === 1) {
const tag = node.tagName ? node.tagName.toLowerCase() : ''; const tag = node.tagName ? node.tagName.toLowerCase() : '';
if (tag === 'br') { if (tag === 'br') {