diff options
author | Andrew Dolgov <[email protected]> | 2024-04-03 17:58:29 +0000 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2024-04-03 17:58:29 +0000 |
commit | f2169ca419be339fa5ba32d0a50770f3d442d8b7 (patch) | |
tree | 05d540d97ad9d1b3bdb65ddbe26c1410658b1b28 /vendor/fivefilters/readability.php/README.md | |
parent | cdc97d886cb7085f9c44a1796ee4bbbf57534d06 (diff) | |
parent | 9ba1adcde4953c8e04630b7b31c29b66d158d428 (diff) |
Merge branch 'feature/readability-ignore-more-elements' into 'master'
Have Readability ignore/strip 'template' elements.
See merge request tt-rss/plugins/ttrss-af-readability!1
Diffstat (limited to 'vendor/fivefilters/readability.php/README.md')
-rw-r--r-- | vendor/fivefilters/readability.php/README.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vendor/fivefilters/readability.php/README.md b/vendor/fivefilters/readability.php/README.md index c910714..547178c 100644 --- a/vendor/fivefilters/readability.php/README.md +++ b/vendor/fivefilters/readability.php/README.md @@ -117,6 +117,7 @@ Then you pass this Configuration object to Readability. The following options ar - **KeepClasses**: default value `false`, which removes all `class="..."` attribute values from HTML elements. - **Parser**: default value `html5`, which uses HTML5-PHP for parsing. Set to `libxml` to use that instead (not recommended for modern HTML documents). - **SummonCthulhu**: default value `false`, remove all `<script>` nodes via regex. This is not ideal as it might break things, but if you've set the parser to libxml (see above), it might be the only solution to [libxml problems with unescaped javascript](https://github.com/fivefilters/readability.php#known-libxml-parsing-issues). +- **ExtraIgnoredElements**: default value `[]`, additional DOM elements that should be ignored. `noscript` and `script` are always ignored. ### Debug log |