Skip to content

Replace inline style attributes #115

@janbrasna

Description

@janbrasna

In case SVG assets get included directly as markup in HTML documents with CSP protections, any inline style="some:css" would a) fail to apply; b) trigger a violation and a potential security report.

Currently that is only a trivial fill color for a handful of logos, so that should be something svgo could handle correctly.

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