Skip to content

Commit

Permalink
fix regex for numeric teams
Browse files Browse the repository at this point in the history
  • Loading branch information
karthikb351 committed May 14, 2024
1 parent 9547b46 commit 8280366
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/live-standings.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Only run this on current month
var colors = {{site.data.colors | jsonify}}
function slug(text) {
return text.replaceAll(/[^a-zA-Z]+/g, '-').toLowerCase();
return text.replaceAll(/[^0-9a-zA-Z]+/g, '-').toLowerCase();
}
function hashToIndex(text) {
const rusha = new Rusha();
Expand Down

0 comments on commit 8280366

Please sign in to comment.