Skip to content

Commit

Permalink
feat(vue-next): fix image url style parse (#3791)
Browse files Browse the repository at this point in the history
Co-authored-by: OpenHippy <[email protected]>
  • Loading branch information
zealotchen0 and open-hippy authored Mar 26, 2024
1 parent 5a7434d commit e82fe27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ function parseBackgroundImage(
});
processedValue.colorStopList = colorStopList;
} else {
const regexp = /(?:\(['"]?).{0,500}?(?:['"]?\))/;
const regexp = /(?:\(['"]?)(.*?)(?:['"]?\))/;
const executed = regexp.exec(value);
if (executed && executed.length > 1) {
[, processedValue] = executed;
Expand Down

0 comments on commit e82fe27

Please sign in to comment.