same fix (2)
This commit is contained in:
parent
2a4029c3f9
commit
48751a0071
@ -410,9 +410,10 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
||||
|
||||
TextView te = (TextView)v.findViewById(R.id.excerpt);
|
||||
|
||||
String articleContent = article.content != null ? article.content : "";
|
||||
|
||||
if (te != null) {
|
||||
if (!m_combinedMode) {
|
||||
String articleContent = article.content != null ? article.content : "";
|
||||
String excerpt = Jsoup.parse(articleContent).text();
|
||||
|
||||
if (excerpt.length() > 100)
|
||||
@ -431,7 +432,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
||||
content.setMovementMethod(LinkMovementMethod.getInstance());
|
||||
|
||||
//content.setText(Html.fromHtml(article.content, new URLImageGetter(content, getActivity()), null));
|
||||
content.setText(Html.fromHtml(article.content, m_dummyGetter, null));
|
||||
content.setText(Html.fromHtml(articleContent, m_dummyGetter, null));
|
||||
|
||||
} else {
|
||||
content.setVisibility(View.GONE);
|
||||
|
Loading…
Reference in New Issue
Block a user