mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 07:33:55 +09:00
Fix newlines being considered in user profile content
This commit is contained in:
@ -138,6 +138,9 @@ namespace osu.Game.Overlays.Profile.Header
|
||||
|
||||
private void tryAddInfo(IconUsage icon, string content, string link = null)
|
||||
{
|
||||
// newlines could be contained in API returned user content.
|
||||
content = content?.Replace("\n", " ");
|
||||
|
||||
if (string.IsNullOrEmpty(content)) return;
|
||||
|
||||
bottomLinkContainer.AddIcon(icon, text =>
|
||||
|
Reference in New Issue
Block a user