Artist info not properly spaced when returned. (Java)

 
  • Artist info not properly spaced when returned. (Java)

    I'm using the Last.fm Java library that's listed in the "Downloads" section on the API. When I call "getWikiText()" and set it to my TextView, all the data is returned; however, the html isn't formatted correctly. Rather than showing separate paragraphs, the data is shown as one large text. To illustrate what I mean, here is a picture of what is being returned and then a link to the artist page of how things should look.

    Picture - http://i.imgur.com/ameTO.jpg
    How things should look - http://www.last.fm/music/Bon+Iver

    This is what I'm calling to get the artist info, but what am I missing as to the paragraph spacing?

    artistInfo = Artist.getInfo("Bon Iver",key);
    artistText = artistInfo.getWikiText();
    info.setText("");
    info.append(Html.fromHtml((artistText)));


    Update: It looks like Ice Cream Sandwich is the culprit. I have a question on Stack Overflow about this, so if anyone has some insight on how to fix this, I would really appreciate it. http://stackoverflow.com/q/9174828/420015

Los usuarios anónimos no pueden escribir mensajes. Para participar en los foros inicia sesión o crea una cuenta.