package com.fourlastor.dante.html;

import android.content.Context;
import android.text.style.TextAppearanceSpan;

class TextAppearanceListener extends BlockStyleListener {

    private final TextAppearanceSpan span;

    TextAppearanceListener(Context context, int appearance, String... tags) {
        super(tags);
        this.span = new TextAppearanceSpan(context, appearance);
    }

    @Override
    protected Object getStyleSpan() {
        return span;
    }
}

@@ -189,31 +189,57 @@
 nal 
-TextAppearanceSpan span
+Context context;%0A    private final int appearance
 ;%0A%0A 
@@ -353,46 +353,52 @@
 his.
-span = new TextAppearanceSpan(context,
+context = context;%0A        this.appearance =
  app
@@ -404,17 +404,16 @@
 pearance
-)
 ;%0A    %7D%0A
@@ -484,12 +484,51 @@
 urn 
-span
+new TextAppearanceSpan(context, appearance)
 ;%0A  

Fix TextAppearanceListener only being applied on last tag