Jeremy Benoist
d649b59414
Fixing PHPUnit versions
2020-01-06 14:22:15 +01:00
Jeremy Benoist
44bebfc3d6
Only install PHPStan when we need it
...
This is to avoid error when installing it on PHP < 7.1
2020-01-06 14:03:30 +01:00
Jeremy Benoist
b1acc9ed73
Fix PHPStan (again)
...
Also cleanup
2019-11-19 14:09:29 +01:00
Jérémy Benoist and GitHub
9306996b47
Merge pull request #53 from j0k3r/openload.co
...
Add openload.co to media detection
1.2.4
2019-06-25 17:15:37 +02:00
Jeremy Benoist
bb75b4f089
Fix PHPStan
2019-06-25 17:06:49 +02:00
Jeremy Benoist
11d2946904
Add openload.co to media detection
2019-06-25 16:54:38 +02:00
nicofrand
ff78c63e6d
Skip empty (empty innerHTML) nodes when grabbing article
2019-05-25 16:12:52 +02:00
Jérémy Benoist and GitHub
f808c1b0a2
Merge pull request #50 from j0k3r/fix/non-well-formed-numeric-value
...
Fix “A non well formed numeric value encountered”
1.2.3
2019-05-11 22:07:19 +02:00
Jeremy Benoist
bb65caf864
Fix “A non well formed numeric value encountered”
2019-05-11 21:58:11 +02:00
Jérémy Benoist and GitHub
de1b1d9775
Merge pull request #48 from Simounet/feature/out-removed-from-negative
...
\bout removed from negative content
1.2.2
2019-04-23 10:45:13 +02:00
Simounet
2e20f76195
\bout removed from negative content
2019-04-19 12:12:41 +02:00
Jérémy Benoist and GitHub
3c0289bf89
Merge pull request #46 from j0k3r/phpstan
...
Enable PHPStan
1.2.1
2019-02-07 16:08:33 +01:00
Jeremy Benoist
74d9cc605a
Enable PHPStan
2019-02-07 15:51:31 +01:00
Jérémy Benoist and GitHub
6a0f3337a6
Merge pull request #45 from j0k3r/fix/update-fixer-rules
...
Update fixer rules
1.2.0
2019-02-04 11:29:55 +01:00
Jeremy Benoist
2dce2879bf
Update fixer rules
...
Following graby, wallabag, etc.
2019-02-04 11:21:34 +01:00
Jérémy Benoist and GitHub
49ce4233fa
Merge pull request #42 from Kdecherf/fix-tidy
...
tidy: use tidy_repair_string instead of tidy_parse_string+tidy_clean_repair
2019-02-04 11:17:13 +01:00
Kevin Decherf and Jeremy Benoist
26c881d864
tidy: use tidy_repair_string instead of tidy_parse_string+tidy_clean_repair
...
A change released in tidy 5.6.0 breaks php-tidy when using
tidy_parse_string+tidy_clean_repair and wrap=0, incorrectly wrapping
every single word. Also it seems that $tidy->value should not be used to
retrieve the repaired html as far as it is undocumented and for internal
use.
We replace the call with tidy_repair_string which directly returns the
repaired string.
Relates to https://github.com/htacg/tidy-html5/issues/673
Relates to https://bugs.php.net/bug.php?id=75947
Tests pass.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2019-02-04 11:08:18 +01:00
Jérémy Benoist and GitHub
db69fe59a2
Merge pull request #44 from j0k3r/fix/coveralls-upload
...
Update path to coveralls bin
2019-02-04 11:08:02 +01:00
Jeremy Benoist
a78f01f656
Update path to coveralls bin
2019-02-04 11:01:47 +01:00
Jérémy Benoist and GitHub
db4508003b
Merge pull request #43 from Kdecherf/composer-bump
...
Composer bump, php-cs bump to v2, travis update
2019-02-04 10:50:17 +01:00
Kevin Decherf
15b12ea2d6
travis: remove PHP < 5.6 and related stuff, phpcs on 7.2, 7.3 not fail
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2019-02-03 16:50:40 +01:00
Kevin Decherf
694f0308fe
composer: bump dependencies, move to php-cs v2
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2019-02-03 16:49:21 +01:00
Jérémy Benoist and GitHub
bbe9021fe7
Merge pull request #36 from Kdecherf/failing-test
...
tests: fix possible typo in testPostFilters() leading to failure
2018-12-10 12:02:43 +01:00
Jérémy Benoist and GitHub
9dee4a240d
Add some badges
2018-11-28 10:05:23 +01:00
Jérémy Benoist and GitHub
eef6d6d456
Merge pull request #41 from j0k3r/testing-7.2-7.3
...
Updating to 7.2
1.1.11
2018-11-26 16:54:20 +01:00
Jeremy Benoist
30a577c617
Dumping HHVM
2018-11-26 16:42:28 +01:00
Jeremy Benoist
70b393a2a3
Remove custom stuff for 7.2
2018-11-26 16:41:42 +01:00
Jeremy Benoist
9ab6d0d9e8
Updating to 7.2
2018-11-26 16:33:38 +01:00
Jérémy Benoist and GitHub
8712db510e
Merge pull request #40 from Simounet/giphy-allowed
...
Giphy added to allowed medias
2018-11-26 16:31:18 +01:00
Simounet
422c74f29c
Giphy added to allowed medias
2018-11-20 19:27:41 +01:00
Jérémy Benoist and GitHub
ed3393a79f
Merge pull request #38 from Simounet/feature/media-added-to-positive
...
Media class added to positive candidates
1.1.10
2018-06-05 11:54:53 +00:00
Simounet
63cd304dba
Media class added to positive candidates
...
Fix Mediapart images.
2018-06-05 13:26:39 +02:00
Jérémy Benoist and GitHub
43939f88d9
Merge pull request #37 from Kdecherf/footnotes-candidates
...
Keep elements with 'footnote' as possible candidates
2017-11-03 18:21:40 +02:00
Kevin Decherf
3a7350a8a7
tests: fix possible typo in testPostFilters() leading to failure
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2017-11-01 16:46:01 +01:00
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 >
2017-11-01 16:45:07 +01:00
Jérémy Benoist and GitHub
276684ab6d
Merge pull request #35 from j0k3r/travis
...
Fix PHP 5.3 builds
2017-10-09 17:16:58 +02:00
Jeremy Benoist
163058aeff
Fix PHP 5.3 builds
2017-10-09 16:58:21 +02:00
Jérémy Benoist and GitHub
6427dd7371
Merge pull request #32 from j0k3r/html5
...
Add missing HTML5 class
1.1.9
2017-06-30 16:50:09 +02:00
Jeremy Benoist
613a63c062
CS
2017-06-30 16:42:29 +02:00
Jeremy Benoist
05089bbd03
Add missing HTML5 class
2017-06-30 16:32:37 +02:00
Jérémy Benoist and GitHub
5ac82f3c87
Merge pull request #30 from j0k3r/avoid-php-warning
...
Avoid php warning
1.1.8
2017-05-19 16:16:20 +02:00
Jeremy Benoist
85fb92a042
Fix tests
2017-05-19 16:02:36 +02:00
Jeremy Benoist
f2a43b476c
Avoid PHP Warning
...
This isn't the best solution but the previous one using `@` wasn't really better.
Appending a string into a fragment might generate some warning if the string contains bad entity.
For example `+`.
2017-05-19 15:37:46 +02:00
Jérémy Benoist and GitHub
6def743902
Merge pull request #27 from jtojnar/ext-mbstring
...
Add mbstring as a dependency
1.1.7
2017-03-18 09:16:30 +01:00
Jan Tojnar
8a44926392
Add mbstring as a dependency
2017-03-18 04:02:50 +01:00
Jérémy Benoist and GitHub
8c7740f073
Merge pull request #26 from j0k3r/fix-phpunit-7.x
...
Fix PHPUnit error on PHP 7+
2017-03-09 09:41:33 +01:00
Jeremy Benoist
6a4720c951
Fix PHPUnit error on PHP 7+
2017-03-09 09:21:13 +01:00
Jérémy Benoist and GitHub
7a9a82b543
Update README.md
2017-03-09 09:02:04 +01:00
Jérémy Benoist and GitHub
8a91d36294
Merge pull request #25 from jtojnar/patch-1
...
Add tidy to suggested dependenies
2017-03-09 09:01:05 +01:00
Jan Tojnar and GitHub
669adfb20f
Add tidy to suggested dependenies
2017-02-16 15:12:45 +01:00