{"action":"closed","issue":{"url":"https://api.github.com/repos/dafi/jekyll-toc-generator/issues/3","labels_url":"https://api.github.com/repos/dafi/jekyll-toc-generator/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/dafi/jekyll-toc-generator/issues/3/comments","events_url":"https://api.github.com/repos/dafi/jekyll-toc-generator/issues/3/events","html_url":"https://github.com/dafi/jekyll-toc-generator/issues/3","id":52589851,"number":3,"title":"tocGenerator messes with {% highlight %} blocks","user":{"login":"Xadeck","id":475285,"avatar_url":"https://avatars.githubusercontent.com/u/475285?v=3","gravatar_id":"","url":"https://api.github.com/users/Xadeck","html_url":"https://github.com/Xadeck","followers_url":"https://api.github.com/users/Xadeck/followers","following_url":"https://api.github.com/users/Xadeck/following{/other_user}","gists_url":"https://api.github.com/users/Xadeck/gists{/gist_id}","starred_url":"https://api.github.com/users/Xadeck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xadeck/subscriptions","organizations_url":"https://api.github.com/users/Xadeck/orgs","repos_url":"https://api.github.com/users/Xadeck/repos","events_url":"https://api.github.com/users/Xadeck/events{/privacy}","received_events_url":"https://api.github.com/users/Xadeck/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-12-21T08:29:39Z","updated_at":"2015-01-18T16:53:17Z","closed_at":"2015-01-18T16:53:17Z","body":"Since it outputs the HTML re-formatted by nokogiri, it will transform the following HTML:\r\n\r\n    <div class=\"highlight\"><pre><code class=\"language-ruby\" data-lang=\"ruby\">\r\ninto\r\n\r\n    <div class=\"highlight\">\r\n      <pre>\r\n        <code class=\"language-ruby\" data-lang=\"ruby\">\r\n\r\nand now, because CSS for pre is {whitespace: pre}, the first line of the code block will be shifted 4 characters."}}