Jeremy Benoist
74d9cc605a
Enable PHPStan
7 years ago
Jeremy Benoist
2dce2879bf
Update fixer rules
...
Following graby, wallabag, etc.
7 years ago
Jeremy Benoist
9ab6d0d9e8
Updating to 7.2
7 years ago
Kevin Decherf
3a7350a8a7
tests: fix possible typo in testPostFilters() leading to failure
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
9 years ago
Kevin Decherf
4c68cc9f09
Keep elements with 'footnote' as possible candidates
...
Should fix https://github.com/wallabag/wallabag/issues/3100
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
9 years ago
Jeremy Benoist
05089bbd03
Add missing HTML5 class
9 years ago
Jeremy Benoist
85fb92a042
Fix tests
9 years ago
Jeremy Benoist
ff754b80bd
Avoid childnode becoming null to generate a warning
9 years ago
Jeremy Benoist
2ef400bf73
Enable php-cs-fixer
10 years ago
Jeremy Benoist
00f622e9b7
Revert BC changes
...
- avoid method signature update
- revert moving logic out of the constructor
10 years ago
Jeremy Benoist
8ab7d76cd5
Use Monolog instead of custom solution
...
Remove that ugly `openlog` & `syslog`
10 years ago
Jeremy Benoist
149a333b40
Remove addPreFilter
...
Pre filters are used in the __construct so adding more pre filters once the object is instantiated is useless.
10 years ago
Jeremy Benoist
209c404d7b
Fix instanceof DOMElement
...
We previously checked `instanceof DOMElement` which was wrong since we
are in the namespace class, the class `Readability\DOMElement` does not
exists.
10 years ago
Jeremy Benoist
dc590542f0
Avoid adding id that might already exists
...
We append a new node when it isn't a `div` or `p` (like when it's an `article`) with the same id which generate a DOM error "DOMElement::setAttribute(): ID blabla already defined".
10 years ago
Jeremy Benoist
7c30d76b6e
Ensure tests are running without Tidy
11 years ago
Jeremy Benoist
b77876b30a
Do not remove nofollow links
...
Most the time, they can be usefull.
At least, it'll be a link to something unrelated. But we won't lose a link inside the content.
Also, adding some extra space.
11 years ago
Jeremy Benoist
175196d6c2
Avoid error with
...
Fix #5
11 years ago
Jeremy Benoist
908a49824f
Add test on title
11 years ago
Jeremy Benoist
1963319a55
Improve Travis & add Scrutinizer
...
+ CS
+ Update README
11 years ago
Jeremy
b81cf8d1c5
Adjust test & php compatible version
11 years ago
Jeremy
881e441bdf
Initial commit
11 years ago