Exporting projects removes embedded svg data and replaces it with syntax error
Example:
/* Written code */
.foo {
background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' etc....");
}
.
/* Exported code */
.foo {
background-image: url([svg]);
}
I assume this is not the intended result because the linter would complain about unresolved assets.
This only happens when importing a stylesheet not on all exports. I can correct the svg and it would be correctly exported.
martin
3
Thank you for reporting this! We'll fix it in the next release.
bitlabs
4
I’m facing same problem on BS5 version
Still being sanitized on import or internal sass compile in both 4 and 5. You will still have to paste directly into the url.
See this thread.