1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-03-21 00:09:47 +01:00

* Trim the artist biography before showing it.

This commit is contained in:
Christian Muehlhaeuser 2013-06-15 11:11:55 +02:00
parent 04a2be8398
commit 4d7efe82a2

View File

@ -365,7 +365,7 @@ ArtistInfoWidget::onBiographyLoaded()
m_longDescription = m_artist->biography();
emit longDescriptionChanged( m_longDescription );
ui->biography->setHtml( m_artist->biography().replace( '\n', "<br>" ) );
ui->biography->setHtml( m_artist->biography().trimmed().replace( '\n', "<br>" ) );
}