54 Commits (c5407ec07c9ee5fbc062cf07434e34285096f6e6)

Author SHA1 Message Date
Kevin Decherf 6689f19956
Strip script and style tags through ::clean() method instead of preg_replace 4 years ago
Kevin Decherf 2ab87d7445 Fix isPhrasingContent conditions, text node replacement 4 years ago
Jeremy Benoist c2a1639b34
Add Rector 4 years ago
Kevin Decherf a44c4e5482 Add routine to remove invisible nodes 4 years ago
Kevin Decherf b580cf216d Backport some logics from mozilla/readability 4 years ago
Jeremy Benoist c4bba53dbe
Remove Scrutinizer 4 years ago
Jeremy Benoist 66215a6c80
Require PHP >= 7.2 4 years ago
Jérémy Benoist fabf096ce6
Fix deprecated message 4 years ago
Kevin Decherf eb72a315c4 Clean empty figure tags without ending 4 years ago
Jeremy Benoist ea1368fac0
Body can be wiped without tidy 5 years ago
Jan Tojnar 7cea79c23a
readability: stop tidy from wrapping noscript text 5 years ago
Jeremy Benoist 6a8ecf232f
Use a new deps for HTML5 parser 6 years ago
Jeremy Benoist b1acc9ed73
Fix PHPStan (again) 6 years ago
Jeremy Benoist 11d2946904
Add openload.co to media detection 7 years ago
nicofrand ff78c63e6d Skip empty (empty innerHTML) nodes when grabbing article 7 years ago
Jeremy Benoist bb65caf864
Fix “A non well formed numeric value encountered” 7 years ago
Simounet 2e20f76195 \bout removed from negative content 7 years ago
Jeremy Benoist 74d9cc605a
Enable PHPStan 7 years ago
Jeremy Benoist 2dce2879bf
Update fixer rules 7 years ago
Kevin Decherf 26c881d864
tidy: use tidy_repair_string instead of tidy_parse_string+tidy_clean_repair 7 years ago
Simounet 422c74f29c Giphy added to allowed medias 7 years ago
Simounet 63cd304dba Media class added to positive candidates 8 years ago
Kevin Decherf 4c68cc9f09 Keep elements with 'footnote' as possible candidates 9 years ago
Jeremy Benoist 613a63c062
CS 9 years ago
Jeremy Benoist 05089bbd03
Add missing HTML5 class 9 years ago
Jeremy Benoist f2a43b476c
Avoid PHP Warning 9 years ago
Jeremy Benoist 8b1c3f147d
Don't be to hard on 'links' attribute 9 years ago
Jeremy Benoist ff754b80bd
Avoid childnode becoming null to generate a warning 9 years ago
Jeremy Benoist d97bece7c5
Don’t be too agressive 10 years ago
Jeremy Benoist 3de4e918b4
Convert header & section to p 10 years ago
Jeremy Benoist 5182d6cb11
“info” is too agressive in unlikelyCandidates 10 years ago
Jeremy Benoist 2ef400bf73 Enable php-cs-fixer 10 years ago
Jeremy Benoist 00f622e9b7 Revert BC changes 10 years ago
Jeremy Benoist c756ec067e Fix tests 10 years ago
Jeremy Benoist 8ab7d76cd5 Use Monolog instead of custom solution 10 years ago
Jeremy Benoist 149a333b40 Remove addPreFilter 10 years ago
Jeremy Benoist 209c404d7b Fix instanceof DOMElement 10 years ago
Jeremy Benoist 2951936e00 CS & PHPDoc 10 years ago
Jeremy Benoist 850ade16b6 Cleanup 10 years ago
Jeremy Benoist dc590542f0 Avoid adding id that might already exists 10 years ago
Jeremy Benoist 111cb08034 Improve negative element 11 years ago
Jeremy Benoist f71c3a4196 Do not remove html tag attributes 11 years ago
Jeremy Benoist b77876b30a Do not remove nofollow links 11 years ago
Jeremy Benoist 175196d6c2 Avoid error with   11 years ago
Jeremy Benoist 2b5af601d5 Do not format output to avoid breaking apps 11 years ago
Jeremy Benoist d01eb2ac1e Use class instead of id to avoid error 11 years ago
Jeremy Benoist c5a4a490e1 CS 11 years ago
Jeremy Benoist c67189248e Backport changes from wallabag 11 years ago
Jeremy Benoist 91b80b70e2 Update HTML5 tags 11 years ago
Jeremy Benoist 814c6e4730 Restore compatibility with PHP 5.3 11 years ago