mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00:00
Changed the antiselector to be less likely to happen.
This commit is contained in:
parent
036ea43e4f
commit
1c1bcc20ff
@ -175,7 +175,7 @@ class HTMLSanitizer {
|
||||
|
||||
$htmlContent = str_get_html($textToSanitize);
|
||||
|
||||
foreach($htmlContent->find('*[!vive_les_chapeaux]') as $element) {
|
||||
foreach($htmlContent->find('*[!b38fd2b1fe7f4747d6b1c1254ccd055e]') as $element) {
|
||||
if(in_array($element->tag, $this->onlyKeepText)) {
|
||||
$element->outertext = $element->plaintext;
|
||||
} else if(in_array($element->tag, $this->tagsToRemove)) {
|
||||
|
Loading…
Reference in New Issue
Block a user