Fix incorrect action returned for wiki links in DEBUG mode

This commit is contained in:
Dan Balasescu
2022-01-11 17:45:31 +09:00
parent 269df08fc9
commit 3cb5f43f77
2 changed files with 3 additions and 3 deletions

View File

@ -262,7 +262,7 @@ namespace osu.Game.Online.Chat
handleMatches(old_link_regex, "{1}", "{2}", result, startIndex, escapeChars: new[] { '(', ')' });
// handle wiki links
handleMatches(wiki_regex, "{1}", "https://osu.ppy.sh/wiki/{1}", result, startIndex);
handleMatches(wiki_regex, "{1}", $"https://{websiteRootUrl}/wiki/{{1}}", result, startIndex);
// handle bare links
handleAdvanced(advanced_link_regex, result, startIndex);