Hi Johnny,
Here’s a url for an example document that has a similar issue:
https://mark-pdftron-example.s3.ap-southeast-2.amazonaws.com/example.docx
Steps to reproduce:
- Open up the above docx file on the Web Viewer
- Click on the search button and enter the following search term : “Furthermore, Business Associate shall use PHI (i) solely for Covered Entity’s benefit and only for the purpose of performing services for Covered Entity as such services are defined in Business Arrangements”
- Click on the found search result and you will see the text highlighted incorrectly (See screenshot below)
Regarding the 2 links you provided… Interestingly the highlighting looked fine on the first link - PDFTron WebViewer Demo: JavaScript PDF Viewer Demo but did not look correct on the second link JavaScript PDF Viewer Demo
I hope this is sufficient information. Please let me know if you need anything else.
Regards,
Mark Aziz