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

Merge remote-tracking branch 'upstream/master' into fix-song-select-context-menus

This commit is contained in:
Dean Herbert 2019-08-15 18:27:49 +09:00
commit fc05cab050

View File

@ -140,6 +140,9 @@ namespace osu.Game.Overlays.Profile.Header
{ {
if (string.IsNullOrEmpty(content)) return; if (string.IsNullOrEmpty(content)) return;
// newlines could be contained in API returned user content.
content = content.Replace("\n", " ");
bottomLinkContainer.AddIcon(icon, text => bottomLinkContainer.AddIcon(icon, text =>
{ {
text.Font = text.Font.With(size: 10); text.Font = text.Font.With(size: 10);