diff --git a/webcompat/static/js/lib/bugform.js b/webcompat/static/js/lib/bugform.js index 2e1d1e29c..b0d5338c4 100644 --- a/webcompat/static/js/lib/bugform.js +++ b/webcompat/static/js/lib/bugform.js @@ -334,7 +334,7 @@ function BugForm() { // Note: this could fail in weird ways depending on how // the user has edited the descField. this.descField.val(function(idx, value) { - return value.replace(/!\[.+\.jpe*g\)$/, ''); + return value.replace(/!\[.+\.(?:bmp|gif|jpe*g*)\)$/, ''); }); }, this)); };