Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #1055. Include bmp and gif in the "remove image upload" regex. #1056

Merged
merged 1 commit into from
May 20, 2016

Conversation

miketaylr
Copy link
Member

To test the regex, you can mess with this in the console:

"![Screenshot Description](http://localhost:5000/uploads/2016/5/7a6a1a82-fe93-4138-8734-ec92df462b85.jpeg)".replace(/!\[.+\.(?:bmp|gif|jpe*g*)\)$/, "lol")

r? @adamopenweb

@adamopenweb
Copy link
Collaborator

Looks good!

@adamopenweb adamopenweb merged commit c2ec089 into master May 20, 2016
@adamopenweb adamopenweb deleted the issues/1055/1 branch May 20, 2016 15:10
@miketaylr
Copy link
Member Author

Thanks Adam!

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.

3 participants