title: Showing HTML in android
body: <p>I am using a TextView to show some text I have formatted from HTML:</p>
  
  <pre><code>Spanned s = Html.fromHtml(getString(R.string.disclaimer));
  tvDisclaimer.setText(s);
  </code></pre>
  
  <p>The text is in the <code>strings.xml</code> using CDATA:</p>
  
  <pre><code>&lt;string name="disclaimer"&gt;
      &lt;![CDATA[
      &lt;p&gt;blablabla&lt;/p&gt;
      &lt;ul&gt;
        &lt;li&gt;foo
        &lt;li&gt;bar
      &lt;/ul&gt; 
      ]]&gt;
  &lt;/string&gt;
  </code></pre>
  
  <p>The point now, is that the whole thing crashes with an <code>IndexOutOfBoundsException</code> in <code>Choreographer</code>. It works for some simple HTML, but at some point, I only have to add one character (ø) to have it crash. Removing the character makes it work.</p>
  
  <p>If <code>Html.fromHtml()</code> is not the way to go, what could I use to get some decent rich text in my app?</p>