You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This happens when, for instance, you have text inside a div1 followed by a div2 in that div1. The problem is that the initial text is not in a true div2, but in a virtual div2. You cannot search for text within this virtual div.
Solution: create a dynamic inner div (e.g. a div2 in a div1) :
Check with a flag if there is text (other than a head?) between a div1 and a div2
If there text, create a div2 starting at the beginning of that text and ending at the div2 tag.
Implementation:
Wrap div creation within a function that checks for orphan text. If orphan text found create a div to account for it (and balance the tree)
The text was updated successfully, but these errors were encountered:
This happens when, for instance, you have text inside a div1 followed by a div2 in that div1. The problem is that the initial text is not in a true div2, but in a virtual div2. You cannot search for text within this virtual div.
Solution: create a dynamic inner div (e.g. a div2 in a div1) :
Implementation:
The text was updated successfully, but these errors were encountered: