Skip to content

Issue with "getImageUrl" function #101

@abczdefg

Description

@abczdefg

Hi, the plugin is quite helpful. But I may find a bug in function getImageUrl, about the regular expression /url(?:\(['"]?)(.*?)(?:['"]?\))/gi.

It can't match the background file that include brackets in file name, because of its ungreedy matches.
image 8

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions