asdad
This commit is contained in:
@@ -1 +1 @@
|
|||||||
1.1.28
|
1.1.29
|
||||||
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user