Skip to content

The style attribute of a span is filtered out by the XSS package #4

@teilzeitgeist

Description

@teilzeitgeist

Hey!

Can you please add attributes like style to the whiteList of the XSS package?

const sanitized = xss(rawHtml);

Right now your linkify directive filtering attributes like this out:
<span style="text-decoration: underline">Underline</span>

What is your opinion?

Thanks for your work!

Cheers Chris :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions