mirror of
https://github.com/ppy/osu.git
synced 2024-11-15 15:17:44 +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:
parent
21351b1be4
commit
af7d35bfbf
@ -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}""""");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user