Skip to content

Commit c2ec089

Browse files
committed
Merge pull request #1056 from /issues/1055/1
Fixes #1055. Include bmp and gif in the "remove image upload" regex.
2 parents da1e2a6 + d365433 commit c2ec089

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webcompat/static/js/lib/bugform.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ function BugForm() {
334334
// Note: this could fail in weird ways depending on how
335335
// the user has edited the descField.
336336
this.descField.val(function(idx, value) {
337-
return value.replace(/!\[.+\.jpe*g\)$/, '');
337+
return value.replace(/!\[.+\.(?:bmp|gif|jpe*g*)\)$/, '');
338338
});
339339
}, this));
340340
};

0 commit comments

Comments
 (0)