From 09f01cbf1e11bca553f760a5ce0cd4e87d9861af Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 27 Nov 2011 10:32:01 +0300 Subject: [PATCH] properly display escaped entities in headlines view --- src/org/fox/ttrss/HeadlinesFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/fox/ttrss/HeadlinesFragment.java b/src/org/fox/ttrss/HeadlinesFragment.java index 1e49c876..1185e350 100644 --- a/src/org/fox/ttrss/HeadlinesFragment.java +++ b/src/org/fox/ttrss/HeadlinesFragment.java @@ -19,6 +19,7 @@ import android.os.Parcel; import android.os.Parcelable; import android.preference.PreferenceManager; import android.support.v4.app.Fragment; +import android.text.Html; import android.util.Log; import android.view.LayoutInflater; import android.view.View; @@ -345,7 +346,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener { TextView tt = (TextView)v.findViewById(R.id.title); if (tt != null) { - tt.setText(article.title); + tt.setText(Html.fromHtml(article.title)); } ImageView marked = (ImageView)v.findViewById(R.id.marked);