You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
readability/test
Radhi 52ab9b5c89
Fix lazy-loaded images are not visible in Kinja sites (#590)
* Add initial test case for kinja's lazy image

* Implement method to remove small data uri image

* Convert relative uri in poster and srcset of media nodes

* Eslint doesn't like arrow function

* Unescape HTML entities in metadata

* Fix wrong regex for parsing srcset urls

* Remove line to check data url since it already handled by new URL

* Replace String.matchAll since it only supported in Node 12+

* Use numeric code when unescaping HTML

* Don't remove data URL src if it's svg

* Don't remove b64 src if it's the only attr that contains image

* Make the comma part non-optional in regex for srcset url

* Fix wrong code for unescaping HTML

* Don't capture comma and semicolon in data URL regex
4 years ago
..
test-pages Fix lazy-loaded images are not visible in Kinja sites (#590) 4 years ago
generate-testcase.js fix(test-util): fix generate testcase tool 5 years ago
test-isProbablyReaderable.js Update to latest JSDOM 6 years ago
test-jsdomparser.js Fix quotes issues in test and benchmark files 6 years ago
test-readability.js Detect 'trailing' content when comparing DOMs 4 years ago
utils.js Fix code style, tighten up eslint rules (#301) 8 years ago