Skip to content

Make an interface to filter whole tags (nodes) #164

@skelewir

Description

@skelewir

It would be great to have some interface similar to attribute_filter but which works on the whole node.
Or better yet - expose the whole parsed dom so it could be post-analyzed and modified as desired.
An example use case: we want to censor some specific domain in links and replace the occurrences with "[censored]".
With current interfaces it's impossible. Our only solution is to parse the cleaned up html again and apply our filters.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions