diff --git a/components/match_table/commons/match_table.lua b/components/match_table/commons/match_table.lua index 255243b7ae3..60f22c2e3db 100644 --- a/components/match_table/commons/match_table.lua +++ b/components/match_table/commons/match_table.lua @@ -244,8 +244,12 @@ function MatchTable:getOpponentAliases(mode, opponent) Array.forEach(opponentNames, function(name) name = name:gsub(' ', '_') local nameWithSpaces = name:gsub('_', ' ') + local pagifiedName = Page.pageifyLink(name) + local pagifiedNameWithSpaces = pagifiedName:gsub('_', ' ') aliases[name] = true aliases[nameWithSpaces] = true + aliases[pagifiedName] = true + aliases[pagifiedNameWithSpaces] = true end) return aliases