Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

perf(wxss-svg): reduce inline svg encoding size #30

Merged
merged 1 commit into from
Jun 1, 2019

Conversation

NewFuture
Copy link
Owner

only encode %#"& now

 svg.replace(/%/g, '%25')
        .replace(/#/g, '%23')
        .replace(/"/g, "%22")
        .replace(/&/g, "%26")

@NewFuture NewFuture merged commit 442aae9 into master Jun 1, 2019
@NewFuture NewFuture deleted the wxss-svg-encode branch June 1, 2019 18:23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant