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

fix(core): don't crash if a content document has an '.xml' extension #154

Merged
merged 1 commit into from
Jan 19, 2018

Conversation

rdeltour
Copy link
Member

Puppeteer won't laod documents with extension .xml as XHTML. When
a Content Document’s extension is not .xhtml or .html, we first
copy the document to a temp .xhtml file and before opening it in
Puppeteer.

Fixes #122

Puppeteer won't laod documents with extension `.xml` as XHTML. When
a Content Document’s extension is not `.xhtml` or `.html`, we first
copy the document to a temp `.xhtml` file and before opening it in
Puppeteer.

Fixes #122
@rdeltour rdeltour added this to the v0.9.0 milestone Jan 19, 2018
@rdeltour rdeltour self-assigned this Jan 19, 2018
@rdeltour rdeltour merged commit 181bea6 into master Jan 19, 2018
@rdeltour rdeltour deleted the fix/unusual-xhtml-extension branch January 19, 2018 03:11
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

Successfully merging this pull request may close these issues.

1 participant