summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFiveFilters.org <[email protected]>2021-08-26 12:29:58 +0200
committerFiveFilters.org <[email protected]>2021-08-26 12:29:58 +0200
commitc8efbea05a3a258c182931b1fcf809d100a5079f (patch)
tree65ce7a20f9c13d3d5b68137a331a5909237a9d4b
parentde7e4bf2624a835ace9ffb6867c52cfcb9b45043 (diff)
Housekeeping
-rw-r--r--.gitattributes3
-rw-r--r--CONTRIBUTING.md3
-rw-r--r--README.md4
3 files changed, 6 insertions, 4 deletions
diff --git a/.gitattributes b/.gitattributes
index ea4dd88..c08d816 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1 +1,2 @@
-test/* linguist-language=PHP \ No newline at end of file
+test/* linguist-language=PHP
+* text=auto eol=lf \ No newline at end of file
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 329668d..2080832 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -2,8 +2,9 @@
Contributions are **welcome** and will be fully **credited**.
-We accept contributions via Pull Requests on [Github](https://github.com/fivefilters/readability.php/).
+When it comes to the core article-extraction functionality, please contribute to [Mozilla's Readability](https://github.com/mozilla/readability/) repository, as we're trying to mirror that here.
+For anything else, we accept contributions via Pull Requests on [Github](https://github.com/fivefilters/readability.php/).
## Pull Requests
diff --git a/README.md b/README.md
index 0f6f9d3..3eaceab 100644
--- a/README.md
+++ b/README.md
@@ -116,7 +116,7 @@ Then you pass this Configuration object to Readability. The following options ar
Logging is optional and you will have to inject your own logger to save all the debugging messages. To do so, use a logger that implements the [PSR-3 logging interface](https://github.com/php-fig/log) and pass it to the configuration object. For example:
-```
+```php
// Using monolog
$log = new Logger('Readability');
@@ -197,7 +197,7 @@ reader mode uses both of these techniques itself. Sanitizing unsafe content out
Version 2.1.0 - Up to date with Readability.js up to [19 Nov 2018](https://github.com/mozilla/readability/commit/876c81f710711ba2afb36dd83889d4c5b4fc2743).
-Master branch - Up to [10 Nov 2020](https://github.com/mozilla/readability/commit/e7d5bfce8e67cebed8ce5deef9b02223b77dd8f6).
+Master branch - Up to date on 26 August 2021, with the exception of a [piece of code](https://github.com/fivefilters/readability.php/commit/1c662465bded2ab3acf3b975a1315c8c45f0bf73#diff-b9b31807b1a39caec18ddc293e9c52931ba8b55191c61e6b77a623d699a599ffR1899) which doesn't produce the same results for us.
## Testing