{"action":"created","issue":{"url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-html-tidy/issues/27","labels_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-html-tidy/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-html-tidy/issues/27/comments","events_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-html-tidy/issues/27/events","html_url":"https://github.com/SublimeLinter/SublimeLinter-html-tidy/issues/27","id":78735868,"number":27,"title":"Sublime Linter isn't working with Tidy-HTML5","user":{"login":"jasonlav","id":7593912,"avatar_url":"https://avatars.githubusercontent.com/u/7593912?v=3","gravatar_id":"","url":"https://api.github.com/users/jasonlav","html_url":"https://github.com/jasonlav","followers_url":"https://api.github.com/users/jasonlav/followers","following_url":"https://api.github.com/users/jasonlav/following{/other_user}","gists_url":"https://api.github.com/users/jasonlav/gists{/gist_id}","starred_url":"https://api.github.com/users/jasonlav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasonlav/subscriptions","organizations_url":"https://api.github.com/users/jasonlav/orgs","repos_url":"https://api.github.com/users/jasonlav/repos","events_url":"https://api.github.com/users/jasonlav/events{/privacy}","received_events_url":"https://api.github.com/users/jasonlav/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-20T23:04:54Z","updated_at":"2015-05-21T07:34:38Z","closed_at":"2015-05-21T07:34:38Z","body":"Installed SublimeLinter-html-tidy\r\nInstalled tidy-html5 with Homebrew\r\n`alias tidy={path_to_tidy5}`\r\n`tidy index.html` passes validation\r\n\r\nIndex.html contains HTML5 elements `aside` tag. However, SublimeLinter shows the `aside` tag as not valid."},"comment":{"url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-html-tidy/issues/comments/104166296","html_url":"https://github.com/SublimeLinter/SublimeLinter-html-tidy/issues/27#issuecomment-104166296","issue_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-html-tidy/issues/27","id":104166296,"user":{"login":"Aedx","id":6864861,"avatar_url":"https://avatars.githubusercontent.com/u/6864861?v=3","gravatar_id":"","url":"https://api.github.com/users/Aedx","html_url":"https://github.com/Aedx","followers_url":"https://api.github.com/users/Aedx/followers","following_url":"https://api.github.com/users/Aedx/following{/other_user}","gists_url":"https://api.github.com/users/Aedx/gists{/gist_id}","starred_url":"https://api.github.com/users/Aedx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aedx/subscriptions","organizations_url":"https://api.github.com/users/Aedx/orgs","repos_url":"https://api.github.com/users/Aedx/repos","events_url":"https://api.github.com/users/Aedx/events{/privacy}","received_events_url":"https://api.github.com/users/Aedx/received_events","type":"User","site_admin":false},"created_at":"2015-05-21T07:34:38Z","updated_at":"2015-05-21T07:34:38Z","body":"`alias` works only in the shell instance which you enter it in. SublimeLinter creates a sub-process shell to run its commands in. This means that no matter what you alias tidy to (`alias tidy=\"echo\"`, `alias tidy=\"non_existent_command\"`, etc.), the sub-process will not be affected as it does not read in your `.{shell_name}rc` file (presuming that you have one - if you just entered the command as-is it will cease to be as soon as you shut your Terminal window).\r\n\r\nIn order to 'alias' `tidy5` as `tidy`, you will need to sym-link `tidy` to `tidy5`. To do this, enter the following at a command line:\r\n\r\n```bash\r\nsudo ln -s $(which tidy5) /usr/local/bin/tidy\r\n````\r\n\r\nThis will create a sym-link at `/usr/local/bin/tidy` pointing to wherever tidy5 is installed (`which` will find this automatically, presuming that `tidy5` is in your path. Because `/usr/local/bin/` is in your Path, SublimeLinter will be able to find tidy5.\r\n\r\nIf you still have problems, I would recommend removing `tidy`, as it comes pre-installed on most recent Mac OS X systems, due to the order in which the Path is searched for executables. To find where it is located (I know not, as I am not a user of OS X), execute `which tidy`.\r\n\r\nHopefully this helps; I'm closing this because it is not a bug. I may add something along these lines to the wiki, if you think that this would help others facing similar problems to you."}}