-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1. Updated jsdom 2. DOCTYPE detection. (See full commit message). #21
1. jQuery.parseHTML on jsdom 3.1.2+ removes doctype, html, head and body tag. As a workaround, some handling for full HTML document template is done based on an assumption that the first tag of the document is an <html> tag (excluding doctype) when one wants to parse an entire document. 2. Detects doctype and prepend it to toString() output. .
- Loading branch information
Showing
3 changed files
with
26 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters