{"action":"closed","issue":{"url":"https://api.github.com/repos/hexojs/hexo/issues/2157","repository_url":"https://api.github.com/repos/hexojs/hexo","labels_url":"https://api.github.com/repos/hexojs/hexo/issues/2157/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo/issues/2157/comments","events_url":"https://api.github.com/repos/hexojs/hexo/issues/2157/events","html_url":"https://github.com/hexojs/hexo/issues/2157","id":176294053,"number":2157,"title":"Can't get highlight tab_replace to work.","user":{"login":"Ziflin","id":5809860,"avatar_url":"https://avatars.githubusercontent.com/u/5809860?v=3","gravatar_id":"","url":"https://api.github.com/users/Ziflin","html_url":"https://github.com/Ziflin","followers_url":"https://api.github.com/users/Ziflin/followers","following_url":"https://api.github.com/users/Ziflin/following{/other_user}","gists_url":"https://api.github.com/users/Ziflin/gists{/gist_id}","starred_url":"https://api.github.com/users/Ziflin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ziflin/subscriptions","organizations_url":"https://api.github.com/users/Ziflin/orgs","repos_url":"https://api.github.com/users/Ziflin/repos","events_url":"https://api.github.com/users/Ziflin/events{/privacy}","received_events_url":"https://api.github.com/users/Ziflin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T04:48:53Z","updated_at":"2016-09-20T23:18:37Z","closed_at":"2016-09-20T23:18:37Z","body":"I'm trying to replace tabs in code sections with spaces using the `tab_replace` config setting, but I can't seem to figure out how to get it to work. Regardless of what I try I'm still left with tabs in the html.\r\n\r\n## Environment Info\r\n\r\nNode version(`node -v`)\r\n```\r\nv4.5.0\r\n```\r\n\r\nYour site `_config.yml`\r\n```\r\n# Syntax Highlighting\r\nhighlight:\r\n\tenable: true\r\n\tline_number: true\r\n\tauto_detect: false\r\n\ttab_replace: '  ' # <-- Nothing seems to work here.\r\n...\r\n```\r\n\r\nPlugin version(`npm ls --depth 0`)\r\n```\r\n├── hexo@3.2.2\r\n├── hexo-beautify@1.0.2\r\n├── hexo-generator-archive@0.1.4\r\n├── hexo-generator-category@0.1.3\r\n├── hexo-generator-index@0.2.0\r\n├── hexo-generator-tag@0.2.0\r\n├── hexo-renderer-bourbon@1.0.4\r\n├── hexo-renderer-ejs@0.2.0\r\n├── hexo-renderer-marked@0.2.11\r\n└── hexo-server@0.2.0\r\n```"}}
{"actor":{"display_login":"Ziflin"}}