From 4d7efe82a22cb1d3a6b92527bf1c46d37e890885 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 15 Jun 2013 11:11:55 +0200 Subject: [PATCH] * Trim the artist biography before showing it. --- src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp index de3dbba80..d7021d84a 100644 --- a/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp +++ b/src/libtomahawk/widgets/infowidgets/ArtistInfoWidget.cpp @@ -365,7 +365,7 @@ ArtistInfoWidget::onBiographyLoaded() m_longDescription = m_artist->biography(); emit longDescriptionChanged( m_longDescription ); - ui->biography->setHtml( m_artist->biography().replace( '\n', "
" ) ); + ui->biography->setHtml( m_artist->biography().trimmed().replace( '\n', "
" ) ); }