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

对data协议的支持有bug #668

Closed
swiftest0 opened this issue Aug 13, 2019 · 0 comments
Closed

对data协议的支持有bug #668

swiftest0 opened this issue Aug 13, 2019 · 0 comments
Assignees

Comments

@swiftest0
Copy link

h5下无法使用data:image/svg+xml,<svg></svg>data:image/svg+xml;base64,
会转为相对路径

未验证全部平台,请确认

源码中只能匹配以下模式,所以xml的svg或base64的svg都不行
const BASE64_RE = /^data:[a-z-]+\/[a-z-]+;base64,/

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

No branches or pull requests

2 participants