Allow empty left text on custom badge
This commit is contained in:
@@ -3445,7 +3445,7 @@ cache(function (data, match, sendBadge, request) {
|
||||
}));
|
||||
|
||||
// Any badge.
|
||||
camp.route(/^\/(:|badge\/)(([^-]|--)+)-(([^-]|--)+)-(([^-]|--)+)\.(svg|png|gif|jpg)$/,
|
||||
camp.route(/^\/(:|badge\/)(([^-]|--)*?)-(([^-]|--)*)-(([^-]|--)+)\.(svg|png|gif|jpg)$/,
|
||||
function(data, match, end, ask) {
|
||||
var subject = escapeFormat(match[2]);
|
||||
var status = escapeFormat(match[4]);
|
||||
|
||||
Reference in New Issue
Block a user