52ab9b5c89
* 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 |
||
---|---|---|
.. | ||
expected-metadata.json | ||
expected.html | ||
source.html |