{"action":"closed","issue":{"url":"https://api.github.com/repos/shazahm1/Easy-Table-of-Contents/issues/20","repository_url":"https://api.github.com/repos/shazahm1/Easy-Table-of-Contents","labels_url":"https://api.github.com/repos/shazahm1/Easy-Table-of-Contents/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/shazahm1/Easy-Table-of-Contents/issues/20/comments","events_url":"https://api.github.com/repos/shazahm1/Easy-Table-of-Contents/issues/20/events","html_url":"https://github.com/shazahm1/Easy-Table-of-Contents/issues/20","id":301893744,"number":20,"title":"ez_toc_title filter is stripping tags added by developer","user":{"login":"unixtam","id":148286,"avatar_url":"https://avatars0.githubusercontent.com/u/148286?v=4","gravatar_id":"","url":"https://api.github.com/users/unixtam","html_url":"https://github.com/unixtam","followers_url":"https://api.github.com/users/unixtam/followers","following_url":"https://api.github.com/users/unixtam/following{/other_user}","gists_url":"https://api.github.com/users/unixtam/gists{/gist_id}","starred_url":"https://api.github.com/users/unixtam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/unixtam/subscriptions","organizations_url":"https://api.github.com/users/unixtam/orgs","repos_url":"https://api.github.com/users/unixtam/repos","events_url":"https://api.github.com/users/unixtam/events{/privacy}","received_events_url":"https://api.github.com/users/unixtam/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-03-02T20:24:58Z","updated_at":"2018-03-05T21:41:43Z","closed_at":"2018-03-05T21:41:43Z","author_association":"NONE","body":"Hi, as of commit https://github.com/shazahm1/Easy-Table-of-Contents/commit/45efe4e747e48a7bcf964f9bb1d268fc5bbbf3e2, the ez_toc_title filter is stripping added tags. May I ask what is the rationale behind that change?\r\n\r\nI'm asking because some of my titles contain `<wbr>` tags that need to be retained in the table of contents for correct word breaks in mobile browsers. One solution would be to call `strip_tags()` with a second argument `'<wbr>'`, but if a developer adds tags via the filter, why should they be stripped again?"}}
{"actor":{"display_login":"shazahm1"}}