Skip to content

Commit

Permalink
Fix crash in more complex content around attention
Browse files Browse the repository at this point in the history
Related-to: 97fb818.
Closes GH-63.
  • Loading branch information
wooorm committed Nov 4, 2024
1 parent ec4eaf0 commit b0a91ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/util/container-phrasing.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ export function containerPhrasing(parent, state, info) {
// encode it.
if (encodingInfo) {
if (
results.length > 0 &&
encodingInfo.before &&
before === results[results.length - 1].slice(-1)
) {
Expand Down

0 comments on commit b0a91ea

Please sign in to comment.