Skip to content

fixed failing to load images with url params#77

Open
cozyCodr wants to merge 1 commit intoeditor-js:masterfrom
cozyCodr:hotfix/issue44-accept-url-params
Open

fixed failing to load images with url params#77
cozyCodr wants to merge 1 commit intoeditor-js:masterfrom
cozyCodr:hotfix/issue44-accept-url-params

Conversation

@cozyCodr
Copy link
Copy Markdown

Applied this regex

/https?:\/\/\S+\.(gif|jpe?g|tiff|png|webp)(\?\S+=[^&]+(&\S+=[^&]+)*)?$/i

to optionally check for images with params.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant