Skip to content

[Bug] CSS selector to remove elements is not removing elements properly #7014

@Tywele

Description

@Tywele

Describe the bug

I have a CSS selector in the config field to remove a certain element from an article and it's not being removed.

To Reproduce

  1. Using this feed: https://www.queer.de/rss/newsticker2.0.komplett.xml
  2. Add the article CSS selectors: .artikel>p, .artikel>blockquote, .artikel>.bildkasten
  3. Add the CSS selectors to remove elements: p[data-sanitized-class="leistenbanner"] or .artikel>p[data-sanitized-class="leistenbanner"] or .artikel>.leistenbanner or .leistenbanner (none of them work)
  4. See the element still being fetched in the article

Expected behavior

The element should not appear in the fetched article

FreshRSS version

1.25.0-dev

Environment information

Installation type: Docker

Additional context

Screenshot of website with uBlock Origin disabled to see the element I want to remove
Screenshot of website with uBlock Origin disabled to see the element I want to remove

Screenshot of the article in my FreshRSS feed to see that the element is still in the article
Screenshot of the article in my FreshRSS feed to see that the element is still in the article

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions