Skip to content

Inject attributes to an element while scrubbing #96

Closed
@vivekjMSFT

Description

@vivekjMSFT

is there a way that while scrubbing, the sanitizer can inject any attribute to an element. Such as while scrubbing anchor tags , I want to add target="_blank" to every anchor tag encountered by sanitizer?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions