1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 15:42:54 +08:00
Double-quote in beatmap listing when searching by artist/title
This commit is contained in:
Dan Balasescu 2024-09-07 18:42:27 +09:00 committed by GitHub
commit 02eb6835e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -242,7 +242,7 @@ namespace osu.Game.Overlays.BeatmapSet
title.Clear(); title.Clear();
artist.Clear(); artist.Clear();
title.AddLink(titleText, LinkAction.SearchBeatmapSet, titleText); title.AddLink(titleText, LinkAction.SearchBeatmapSet, $@"title=""""{titleText}""""");
title.AddArbitraryDrawable(Empty().With(d => d.Width = 5)); title.AddArbitraryDrawable(Empty().With(d => d.Width = 5));
title.AddArbitraryDrawable(externalLink = new ExternalLinkButton()); title.AddArbitraryDrawable(externalLink = new ExternalLinkButton());
@ -259,7 +259,7 @@ namespace osu.Game.Overlays.BeatmapSet
title.AddArbitraryDrawable(new SpotlightBeatmapBadge()); title.AddArbitraryDrawable(new SpotlightBeatmapBadge());
} }
artist.AddLink(artistText, LinkAction.SearchBeatmapSet, artistText); artist.AddLink(artistText, LinkAction.SearchBeatmapSet, $@"artist=""""{artistText}""""");
if (setInfo.NewValue.TrackId != null) if (setInfo.NewValue.TrackId != null)
{ {