swhitty / SwiftDraw

Swift library and command line tool to convert SVGs into SFSymbol, PNG, PDF and Swift source code.
zlib License
423 stars 51 forks source link

[parsing error] output.svg error: invalidAttribute(name: "display", value: "block" #53

Closed alpennec closed 1 week ago

alpennec commented 1 week ago

Hello,

I'm trying to parse an SVG file (attached) but I get the following error

[parsing error] output.svg error: invalidAttribute(name: "display", value: "block")

I think the issue is here but I haven't been able to find how to fix that.

Can you please have a look? Thanks Axel

output

swhitty commented 1 week ago

Thank you for reporting the issue 🙏🏻

It has been fixed on the main branch by https://github.com/swhitty/SwiftDraw/pull/54

alpennec commented 1 week ago

Thanks!