2022-11-26 03:32:39PM

This commit is contained in:
Alexander Wang 2022-11-26 15:32:40 -08:00
parent b8fd3de179
commit 0191306b83
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -208,7 +208,6 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, theme
out := svg
if filepath.Ext(outputPath) == ".png" {
// TODO this may be desirable even for SVGs. Should make it a flag
svg, err = imgbundler.Inline(ms, svg)
if err != nil {
return nil, err