Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow attributes that Adobe Illustrator export makes #63

Open
Bersman opened this issue Sep 3, 2021 · 2 comments
Open

Allow attributes that Adobe Illustrator export makes #63

Bersman opened this issue Sep 3, 2021 · 2 comments

Comments

@Bersman
Copy link

Bersman commented Sep 3, 2021

We have exported a SVG with Adobe and the sanitizer does not like that. It give the following errors:
There are sanitization issues with this SVG file:
Suspicious attribute 'space' in line 4
Suspicious attribute 'enable-background' in line 4

Generator is: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)

I wil make an PR for the enable-background attribute.
The space attribute is something different. Because it's in the list. It's looks like that XPath or something else is removing the xml: prefix when walking over the elements. Will make a separated issue for this.

@ohader
Copy link
Contributor

ohader commented Sep 3, 2021

Can you please add an example SVG snippet showing usage of enable-background? Thx

@ohader
Copy link
Contributor

ohader commented Sep 3, 2021

Spotted <svg ... enable-background="new 0 0 600 600"> in PR #65

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants