mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 00:53:22 +08:00
Merge pull request #5732 from peppy/fix-user-content-newlines
Fix newlines being considered in user profile content
This commit is contained in:
commit
918701be44
@ -140,6 +140,9 @@ namespace osu.Game.Overlays.Profile.Header
|
||||
{
|
||||
if (string.IsNullOrEmpty(content)) return;
|
||||
|
||||
// newlines could be contained in API returned user content.
|
||||
content = content.Replace("\n", " ");
|
||||
|
||||
bottomLinkContainer.AddIcon(icon, text =>
|
||||
{
|
||||
text.Font = text.Font.With(size: 10);
|
||||
|
Loading…
Reference in New Issue
Block a user