-
Notifications
You must be signed in to change notification settings - Fork 186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issues with <a> tags getting removed in Readium Js viewer reader. #742
Comments
Hi, |
When a HTML tag is present in the raw source, but missing in the computed DOM, this may be a sign that there is a mismatch between XHTML and HTML (e.g. self-closing tags). Just a thought. |
Hi Daniel, We have attached the screenshot of <iframe> wherein we have "data-src" and "src" .Now we are loading an .xhtml file through data-src(attached screenshot) .However, the rendered content(screenshot attached) is not matching with our data-src content. |
perhaps this explanation helps? Another thing comes to mind (which could explain the closing tag issue): HTML vs. XHTML file extension triggers different parsing behaviour in some web browsers, when the HTTP header content-type is not available. |
Hi,
We are facing issues with highlight feature when the migrated data coming up.
reader is different.
(We have checked the elements in the developer console)
Please find the examples of old reader and new reader Xpath with the decoded details for same text below:
Old Reader:
L2h0bWwvYm9keS9wWzJdL2E6OnBhcmVudE5vZGUsL2h0bWwvYm9keS9wWzJdL2E6OnBhcmVudE5vZGUsMTgsMjc=
/html/body/p[2]/a::parentNode,/html/body/p[2]/a::parentNode,18,27
New Reader:
L2h0bWwvYm9keS9wWzNdOjpwYXJlbnROb2RlLC9odG1sL2JvZHkvcFszXTo6cGFyZW50Tm9kZSwxOCwyNw==
/html/body/p[3]::parentNode,/html/body/p[3]::parentNode,18,27
The text was updated successfully, but these errors were encountered: