Skip to content

Commit

Permalink
feat(vue-next): fix image url style parse
Browse files Browse the repository at this point in the history
  • Loading branch information
zealotchen0 committed Mar 26, 2024
1 parent 1102c02 commit af73dd7
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 af73dd7

Please sign in to comment.