Skip to content
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

WebView with "application/xhtml+xml" content type fails to render HTML (i.e. malformed XML / XHTML) #24

Closed
danielweck opened this issue Nov 10, 2014 · 1 comment

Comments

@danielweck
Copy link
Member

...whereas readium-js-viewer succeeds (undesirable discrepancy).

Suggestion: use "text/html" content type in HTTP header response when XHTML is not well formed. Even though this might break namespace-aware CSS selectors (e.g. epub:type attribute matching), it is an acceptable fallback (rather than the WebView just showing a large red error message).

danielweck added a commit that referenced this issue Nov 10, 2014
@danielweck
Copy link
Member Author

Fixed: d945dda

danielweck added a commit to readium/readium-sdk that referenced this issue Nov 11, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant