I am reading a one note file and trying to fetch the link present in a paragraph. I use textstyles to get the content like linkaddress, linktext etc. However I see that some links spans across more than one style. Attaching is a file that 3 paragraphs. the second paragraph has a link. I grab the richtext and then see that there are 3 textstyles, first one is the text and second is the partial link and the third one is the remaining link.
Please let me know how to resolve this issue.
thanks.Issue.zip (63.0 KB)
Issue.zip (63.0 KB)