mirror of
https://github.com/ppy/osu.git
synced 2026-05-25 14:52:23 +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:
@@ -17,9 +17,9 @@ namespace osu.Game.Overlays.BeatmapSet
|
||||
protected override void AddMetadata(string metadata, LinkFlowContainer loaded)
|
||||
{
|
||||
if (SearchAction != null)
|
||||
loaded.AddLink(metadata, () => SearchAction($"\"{metadata}\""));
|
||||
loaded.AddLink(metadata, () => SearchAction($@"""""{metadata}"""""));
|
||||
else
|
||||
loaded.AddLink(metadata, LinkAction.SearchBeatmapSet, $"\"{metadata}\"");
|
||||
loaded.AddLink(metadata, LinkAction.SearchBeatmapSet, $@"""""{metadata}""""");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user