Skip to content

Commit a91fd30

Browse files
author
Ferenc Gerlits
committed
Update deprecated Html.fromHtml() call
1 parent cc8541e commit a91fd30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/src/main/java/ferenc_gerlits/hypercube_viewer/ShowTextActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ protected void onCreate(Bundle savedInstanceState) {
3030
textView.setMovementMethod(ScrollingMovementMethod.getInstance());
3131
textView.setMovementMethod(LinkMovementMethod.getInstance());
3232

33-
Spanned formattedText = Html.fromHtml(text);
33+
Spanned formattedText = Html.fromHtml(text, Html.FROM_HTML_MODE_LEGACY);
3434
textView.setText(formattedText);
3535
}
3636
}

0 commit comments

Comments
 (0)