if (nextChild && child.endsAt < nextChild.startsAt) {
        const childContent = html.substring(child.endsAt, nextChild.startsAt);

        const childText: ObjectIndexItemWithContent = {
          tagName: "#text",