{"action":"opened","issue":{"url":"https://api.github.com/repos/isagalaev/highlight.js/issues/872","labels_url":"https://api.github.com/repos/isagalaev/highlight.js/issues/872/labels{/name}","comments_url":"https://api.github.com/repos/isagalaev/highlight.js/issues/872/comments","events_url":"https://api.github.com/repos/isagalaev/highlight.js/issues/872/events","html_url":"https://github.com/isagalaev/highlight.js/issues/872","id":89968593,"number":872,"title":"How to highlight a single character?","user":{"login":"LaKing","id":2204838,"avatar_url":"https://avatars.githubusercontent.com/u/2204838?v=3","gravatar_id":"","url":"https://api.github.com/users/LaKing","html_url":"https://github.com/LaKing","followers_url":"https://api.github.com/users/LaKing/followers","following_url":"https://api.github.com/users/LaKing/following{/other_user}","gists_url":"https://api.github.com/users/LaKing/gists{/gist_id}","starred_url":"https://api.github.com/users/LaKing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LaKing/subscriptions","organizations_url":"https://api.github.com/users/LaKing/orgs","repos_url":"https://api.github.com/users/LaKing/repos","events_url":"https://api.github.com/users/LaKing/events{/privacy}","received_events_url":"https://api.github.com/users/LaKing/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-21T22:27:04Z","updated_at":"2015-06-21T22:27:04Z","closed_at":null,"body":"I would like to highlight curly braces, eg. { and } characters in a laguage, eg javascript.\r\nWhat would be the recommended method?\r\n\r\nThis worked before ...\r\n```\r\n  // CODEPAD specials - curly braces\r\n  hljs.CODEPAD_CB = {\r\n        className: 'cb',\r\n        begin: '{|}'\r\n    };\r\n```\r\n.. but now, if I add this class to javascript blocks, it seems to mess it up. Is there a better approach? \r\n\r\nThanks for any advice."}}