Skip to content

inlineStyles plugin breaks svg #1359

@XhmikosR

Description

@XhmikosR
C:\Users\xmr\Desktop\svg-sprite\test\fixture\svg\css>svgo --version
2.0.3

C:\Users\xmr\Desktop\svg-sprite\test\fixture\svg\css>svgo zebra.svg -o zebra-out.svg --pretty

zebra.svg:
Done in 63 ms!
12.301 KiB - 31.3% = 8.456 KiB

Happens also with v1.3.2 and the only way to make this work is to disable the default inlineStyles plugin.

There might already be an issue about this, if so feel free to reference it and close this one :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions