Skip to content

Accommodate non-trivial background-image css definitions #21

Closed
@codycushing

Description

@codycushing

Looks like the regex is not accounting for characters between url( and /* (no)embed */, causing other valid css syntax to be skipped. For example, these images are not picked up:

background: transparent url(../img/menu.svg) center center no-repeat; /* embed */
background-image: -webkit-image-set(url("../img/Billing-Icon.png") 1x, url("../img/Billing-Icon_2x.png") 2x); /* embed */

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions