fix:replace zero width char when zip element
This commit is contained in:
@@ -330,7 +330,8 @@ export function zipElementList(payload: IElement[]): IElement[] {
|
|||||||
nextElement
|
nextElement
|
||||||
&& isSameElementExceptValue(pickElement, pickElementAttr(nextElement))
|
&& isSameElementExceptValue(pickElement, pickElementAttr(nextElement))
|
||||||
) {
|
) {
|
||||||
pickElement.value += nextElement.value
|
const nextValue = nextElement.value === ZERO ? '\n' : nextElement.value
|
||||||
|
pickElement.value += nextValue
|
||||||
} else {
|
} else {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user