Merge pull request #34 from samicemalone/master
Escape HTML from the title of the context menu in HeadlinesFragment
This commit is contained in:
commit
0d04907d2f
@ -240,7 +240,7 @@ public class HeadlinesFragment extends Fragment implements OnItemClickListener,
|
||||
} else {
|
||||
AdapterContextMenuInfo info = (AdapterContextMenuInfo)menuInfo;
|
||||
Article article = getArticleAtPosition(info.position);
|
||||
menu.setHeaderTitle(article.title);
|
||||
menu.setHeaderTitle(Html.fromHtml(article.title));
|
||||
menu.setGroupVisible(R.id.menu_group_single_article, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user