mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-11-04 23:22:57 +08:00
fix: TextContentParser 返回结果错误
This commit is contained in:
parent
1ee3c44d26
commit
91c7ee455c
@ -989,7 +989,7 @@ export class TextContentParser {
|
|||||||
if (this.nodePointer < text.length) {
|
if (this.nodePointer < text.length) {
|
||||||
this.addTextNode(text.length, false);
|
this.addTextNode(text.length, false);
|
||||||
}
|
}
|
||||||
return this.textNodes;
|
return this.splitLines(width);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user