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
I just tried running .resolveLast on the HTML you provided using the CFI you provided and it works fine for me. Can you give me the exact code you're using?
For this CFI
epubcfi(/2/4/2[_preface]/10/1:175)
which points at this fragment of the epub
You can check the specific html for the page here
https://pastebin.com/NmW8Uz4T
I am getting an undefined node but a correct offset
It looks like the function
getChildNodeByCFIIndex
seems to fail to retrieve the TEXT_NODE for this partat this state
index
andcfiCount
are both 1 and therefore the function return undefined. ThelastChild
is the TEXT_NODEThe text was updated successfully, but these errors were encountered: