1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-15 17:17:26 +08:00

Doubly quote strings

Note the external-action case (currently used for tags) doesn't match
osu!web but it doesn't matter because tags are single words
anyway.
This commit is contained in:
Dan Balasescu 2024-10-23 16:15:40 +09:00
parent 21351b1be4
commit af7d35bfbf
No known key found for this signature in database

View File

@ -17,9 +17,9 @@ namespace osu.Game.Overlays.BeatmapSet
protected override void AddMetadata(string metadata, LinkFlowContainer loaded) protected override void AddMetadata(string metadata, LinkFlowContainer loaded)
{ {
if (SearchAction != null) if (SearchAction != null)
loaded.AddLink(metadata, () => SearchAction($"\"{metadata}\"")); loaded.AddLink(metadata, () => SearchAction($@"""""{metadata}"""""));
else else
loaded.AddLink(metadata, LinkAction.SearchBeatmapSet, $"\"{metadata}\""); loaded.AddLink(metadata, LinkAction.SearchBeatmapSet, $@"""""{metadata}""""");
} }
} }
} }