Html.fromHtml is removed from CalculatorDisplayView
This commit is contained in:
parent
2215b11e6f
commit
be98a7b58e
@ -27,7 +27,6 @@ import android.content.SharedPreferences;
|
||||
import android.os.Handler;
|
||||
import android.preference.PreferenceManager;
|
||||
import android.support.v4.app.FragmentActivity;
|
||||
import android.text.Html;
|
||||
import android.util.AttributeSet;
|
||||
import android.util.TypedValue;
|
||||
|
||||
@ -156,7 +155,7 @@ public class AndroidCalculatorDisplayView extends AutoResizeTextView implements
|
||||
try {
|
||||
final TextProcessorEditorResult processedText = textHighlighter.process(text);
|
||||
text = processedText.toString();
|
||||
result = Html.fromHtml(text);
|
||||
result = processedText.getCharSequence();
|
||||
} catch (CalculatorParseException e) {
|
||||
result = text;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user