{"action":"reopened","issue":{"url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/5","labels_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/5/comments","events_url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/issues/5/events","html_url":"https://github.com/Templarian/ui.bootstrap.contextMenu/issues/5","id":57537491,"number":5,"title":"Feature: allow html in menu item","user":{"login":"solival","id":635537,"avatar_url":"https://avatars.githubusercontent.com/u/635537?v=3","gravatar_id":"","url":"https://api.github.com/users/solival","html_url":"https://github.com/solival","followers_url":"https://api.github.com/users/solival/followers","following_url":"https://api.github.com/users/solival/following{/other_user}","gists_url":"https://api.github.com/users/solival/gists{/gist_id}","starred_url":"https://api.github.com/users/solival/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/solival/subscriptions","organizations_url":"https://api.github.com/users/solival/orgs","repos_url":"https://api.github.com/users/solival/repos","events_url":"https://api.github.com/users/solival/events{/privacy}","received_events_url":"https://api.github.com/users/solival/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Templarian/ui.bootstrap.contextMenu/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-12T23:38:23Z","updated_at":"2015-03-03T06:38:16Z","closed_at":null,"body":"Thanks for simple yet very convenient context menu solution.\r\nRecently used it in my project and found that only plain text is allowed in menu titles. This is quite limiting when user wants to add some icons like <\\i class=\"fa fa-check-square\"><\\/i>  from FontAwesome package or mark some menu item as bold, italic, or underline.\r\nI'd like to propose change contextMenu.js:25 'text' to 'html':\r\n--- $a.text(typeof item[0] == 'string' ? item[0] : item[0].call($scope, $scope));\r\n+++ $a.html(typeof item[0] == 'string' ? item[0] : item[0].call($scope, $scope));\r\n\r\nThis works wonderful for me and hope it can be useful for others."}}