Fix modification by reference defeating indexOf checking
Fix modification by reference defeating indexOf checking
View ArticleDon't assume el is not an array when defining attrs hash. Resolves #113
Don't assume el is not an array when defining attrs hash. Resolves #113
View ArticleWrap sax write and end methods in try/catch. Resolves #112
Wrap sax write and end methods in try/catch. Resolves #112 sax >= v0.6.0 can throw if a gzipped data stream containing certain characters gets written to the parser. This is a user error (to pipe...
View ArticleUse native try/catch. Other method is not a performance enhancement.
Use native try/catch. Other method is not a performance enhancement.
View ArticleManually trigger end when an exception is caught.
Manually trigger end when an exception is caught. We can't continue parsing after an exception is thrown. Also update test.
View ArticleRemove unnecessary code to trigger saxparser error.
Remove unnecessary code to trigger saxparser error. Apparently, calling the callback with an error will trigger an error anyway. Totally undocumented. So, this was actually calling double error...
View ArticleMerge pull request #119 from danmactough/wrap-sax-in-trycatch
Merge pull request #119 from danmactough/wrap-sax-in-trycatch Wrap sax in trycatch
View ArticleChange ispermalink value check to be case-insensitive. Closes #123.
Change ispermalink value check to be case-insensitive. Closes #123.
View Articleremoved resanitize as a dependency since the only thing in use was a …
removed resanitize as a dependency since the only thing in use was a 4 line function. Moved the function to utils
View Article