{"action":"created","issue":{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/512","repository_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js","labels_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/512/labels{/name}","comments_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/512/comments","events_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/512/events","html_url":"https://github.com/algolia/algoliasearch-helper-js/issues/512","id":240045912,"number":512,"title":"namespaced css class for matched term highlighting","user":{"login":"t22james","id":2924796,"avatar_url":"https://avatars1.githubusercontent.com/u/2924796?v=3","gravatar_id":"","url":"https://api.github.com/users/t22james","html_url":"https://github.com/t22james","followers_url":"https://api.github.com/users/t22james/followers","following_url":"https://api.github.com/users/t22james/following{/other_user}","gists_url":"https://api.github.com/users/t22james/gists{/gist_id}","starred_url":"https://api.github.com/users/t22james/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t22james/subscriptions","organizations_url":"https://api.github.com/users/t22james/orgs","repos_url":"https://api.github.com/users/t22james/repos","events_url":"https://api.github.com/users/t22james/events{/privacy}","received_events_url":"https://api.github.com/users/t22james/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-07-03T00:52:24Z","updated_at":"2017-07-03T02:08:57Z","closed_at":"2017-07-03T02:08:57Z","body":"Currently the `_highlightResult` returned by algolia will wrap `em` tags around any terms matching the search query. This makes styling very difficult when the native result also contains `<em>` tags.\r\n\r\nCould you please add a namespaced classname to the html element you add so we can target the matches specifically? `<em class=\"algolia-highlight\">` by default, or ideally, allow a classname to be passed as an option during `algoliasearchHelper` init.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/comments/312533856","html_url":"https://github.com/algolia/algoliasearch-helper-js/issues/512#issuecomment-312533856","issue_url":"https://api.github.com/repos/algolia/algoliasearch-helper-js/issues/512","id":312533856,"user":{"login":"t22james","id":2924796,"avatar_url":"https://avatars1.githubusercontent.com/u/2924796?v=3","gravatar_id":"","url":"https://api.github.com/users/t22james","html_url":"https://github.com/t22james","followers_url":"https://api.github.com/users/t22james/followers","following_url":"https://api.github.com/users/t22james/following{/other_user}","gists_url":"https://api.github.com/users/t22james/gists{/gist_id}","starred_url":"https://api.github.com/users/t22james/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t22james/subscriptions","organizations_url":"https://api.github.com/users/t22james/orgs","repos_url":"https://api.github.com/users/t22james/repos","events_url":"https://api.github.com/users/t22james/events{/privacy}","received_events_url":"https://api.github.com/users/t22james/received_events","type":"User","site_admin":false},"created_at":"2017-07-03T02:08:57Z","updated_at":"2017-07-03T02:08:57Z","body":"ahh, apologies, this was simply not documented in algoliasearch helper itself, but is documented here: https://www.algolia.com/doc/guides/searching/highlighting-snippeting/#pre--and-post-tags"}}
{"actor":{"display_login":"t22james"}}