forked from pdfkit/pdfkit
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Meta tag detection used rexml. While this gives all the power of parsing and working with XML, it is very strict on the input it accepts. On bad markup it simply throw the towel and gave up on parsing. As the detection of meta tags should not depend on bad (html) markup much later in the file, the parsing is now ported to using Regular Expression.
- Loading branch information
Showing
2 changed files
with
25 additions
and
14 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