Skip to content

Commit b0a91ea

Browse files
committed
Fix crash in more complex content around attention
Related-to: 97fb818. Closes GH-63.
1 parent ec4eaf0 commit b0a91ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/util/container-phrasing.js

+1
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ export function containerPhrasing(parent, state, info) {
102102
// encode it.
103103
if (encodingInfo) {
104104
if (
105+
results.length > 0 &&
105106
encodingInfo.before &&
106107
before === results[results.length - 1].slice(-1)
107108
) {

0 commit comments

Comments
 (0)