Merge pull request #34 from samicemalone/master

Escape HTML from the title of the context menu in HeadlinesFragment
This commit is contained in:
Andrew Dolgov 2013-05-07 22:56:48 -07:00
commit 0d04907d2f

View File

@ -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);
}