{"action":"created","issue":{"url":"https://api.github.com/repos/danielgtaylor/aglio/issues/159","labels_url":"https://api.github.com/repos/danielgtaylor/aglio/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/danielgtaylor/aglio/issues/159/comments","events_url":"https://api.github.com/repos/danielgtaylor/aglio/issues/159/events","html_url":"https://github.com/danielgtaylor/aglio/issues/159","id":103712152,"number":159,"title":"HTML in headers rendered inconsistently","user":{"login":"winniehell","id":1652293,"avatar_url":"https://avatars.githubusercontent.com/u/1652293?v=3","gravatar_id":"","url":"https://api.github.com/users/winniehell","html_url":"https://github.com/winniehell","followers_url":"https://api.github.com/users/winniehell/followers","following_url":"https://api.github.com/users/winniehell/following{/other_user}","gists_url":"https://api.github.com/users/winniehell/gists{/gist_id}","starred_url":"https://api.github.com/users/winniehell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/winniehell/subscriptions","organizations_url":"https://api.github.com/users/winniehell/orgs","repos_url":"https://api.github.com/users/winniehell/repos","events_url":"https://api.github.com/users/winniehell/events{/privacy}","received_events_url":"https://api.github.com/users/winniehell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/danielgtaylor/aglio/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-28T12:38:58Z","updated_at":"2015-09-01T08:27:49Z","closed_at":"2015-09-01T08:27:49Z","body":"Using aglio `2.0.4`, the following\r\n```markdown\r\n## App <span>foo</span>\r\n```\r\nleads to\r\n![toc](https://cloud.githubusercontent.com/assets/1652293/9546306/f1be92d8-4d91-11e5-90b6-d48b3d0f2995.PNG)\r\nin the table of contents but to\r\n![doc](https://cloud.githubusercontent.com/assets/1652293/9546313/fd2d6a72-4d91-11e5-809b-fe29af159cb8.PNG)\r\nin the document itself.\r\n\r\nI'd prefer having the HTML not escaped in the table of contents allowing e.g. custom badges. In my opinion, it should at least be consistent between table of contents and document whether HTML is escaped or not.\r\n"},"comment":{"url":"https://api.github.com/repos/danielgtaylor/aglio/issues/comments/136635047","html_url":"https://github.com/danielgtaylor/aglio/issues/159#issuecomment-136635047","issue_url":"https://api.github.com/repos/danielgtaylor/aglio/issues/159","id":136635047,"user":{"login":"danielgtaylor","id":106826,"avatar_url":"https://avatars.githubusercontent.com/u/106826?v=3","gravatar_id":"","url":"https://api.github.com/users/danielgtaylor","html_url":"https://github.com/danielgtaylor","followers_url":"https://api.github.com/users/danielgtaylor/followers","following_url":"https://api.github.com/users/danielgtaylor/following{/other_user}","gists_url":"https://api.github.com/users/danielgtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/danielgtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielgtaylor/subscriptions","organizations_url":"https://api.github.com/users/danielgtaylor/orgs","repos_url":"https://api.github.com/users/danielgtaylor/repos","events_url":"https://api.github.com/users/danielgtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/danielgtaylor/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T08:27:49Z","updated_at":"2015-09-01T08:27:49Z","body":"I agree that the generated header names with HTML are a difficult problem and I've approached them as best I could. Definitely open to suggestions, but please open a new issue.\r\n\r\nThe originally reported issue is now fixed in the 1.2.1 release of the Olio theme engine."}}