@codemirror/view 6.39.0-beta.1 → 6.39.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3949,7 +3949,7 @@ class DOMReader {
|
|
|
3949
3949
|
this.readNode(cur);
|
|
3950
3950
|
let tile = Tile.get(cur), next = cur.nextSibling;
|
|
3951
3951
|
if (next == end) {
|
|
3952
|
-
if (tile === null || tile === void 0 ? void 0 : tile.breakAfter)
|
|
3952
|
+
if ((tile === null || tile === void 0 ? void 0 : tile.breakAfter) && !next)
|
|
3953
3953
|
this.lineBreak();
|
|
3954
3954
|
break;
|
|
3955
3955
|
}
|
package/dist/index.js
CHANGED
|
@@ -3945,7 +3945,7 @@ class DOMReader {
|
|
|
3945
3945
|
this.readNode(cur);
|
|
3946
3946
|
let tile = Tile.get(cur), next = cur.nextSibling;
|
|
3947
3947
|
if (next == end) {
|
|
3948
|
-
if (tile === null || tile === void 0 ? void 0 : tile.breakAfter)
|
|
3948
|
+
if ((tile === null || tile === void 0 ? void 0 : tile.breakAfter) && !next)
|
|
3949
3949
|
this.lineBreak();
|
|
3950
3950
|
break;
|
|
3951
3951
|
}
|