1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 05:39:53 +08:00

fixed issues with search by adding the double quotation marks in the BeatmapSetHeaderContents links.

This commit is contained in:
Ianlucht
2024-09-06 16:31:48 -06:00
Unverified
parent 04d133832f
commit 581f190856
@@ -242,7 +242,7 @@ namespace osu.Game.Overlays.BeatmapSet
title.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(externalLink = new ExternalLinkButton());
@@ -259,7 +259,7 @@ namespace osu.Game.Overlays.BeatmapSet
title.AddArbitraryDrawable(new SpotlightBeatmapBadge());
}
artist.AddLink(artistText, LinkAction.SearchBeatmapSet, artistText);
artist.AddLink(artistText, LinkAction.SearchBeatmapSet, "artist=\"\"" + artistText + "\"\"");
if (setInfo.NewValue.TrackId != null)
{