{"action":"created","issue":{"url":"https://api.github.com/repos/htacg/tidy-html5/issues/393","repository_url":"https://api.github.com/repos/htacg/tidy-html5","labels_url":"https://api.github.com/repos/htacg/tidy-html5/issues/393/labels{/name}","comments_url":"https://api.github.com/repos/htacg/tidy-html5/issues/393/comments","events_url":"https://api.github.com/repos/htacg/tidy-html5/issues/393/events","html_url":"https://github.com/htacg/tidy-html5/issues/393","id":145442644,"number":393,"title":"Infinite loop parsing in tidy","user":{"login":"rstrauss","id":4896525,"avatar_url":"https://avatars.githubusercontent.com/u/4896525?v=3","gravatar_id":"","url":"https://api.github.com/users/rstrauss","html_url":"https://github.com/rstrauss","followers_url":"https://api.github.com/users/rstrauss/followers","following_url":"https://api.github.com/users/rstrauss/following{/other_user}","gists_url":"https://api.github.com/users/rstrauss/gists{/gist_id}","starred_url":"https://api.github.com/users/rstrauss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstrauss/subscriptions","organizations_url":"https://api.github.com/users/rstrauss/orgs","repos_url":"https://api.github.com/users/rstrauss/repos","events_url":"https://api.github.com/users/rstrauss/events{/privacy}","received_events_url":"https://api.github.com/users/rstrauss/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/htacg/tidy-html5/labels/Technical%20Support","name":"Technical Support","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/htacg/tidy-html5/milestones/2","html_url":"https://github.com/htacg/tidy-html5/milestones/Indefinite%20future","labels_url":"https://api.github.com/repos/htacg/tidy-html5/milestones/2/labels","id":140988,"number":2,"title":"Indefinite future","description":"","creator":{"login":"petdance","id":41100,"avatar_url":"https://avatars.githubusercontent.com/u/41100?v=3","gravatar_id":"","url":"https://api.github.com/users/petdance","html_url":"https://github.com/petdance","followers_url":"https://api.github.com/users/petdance/followers","following_url":"https://api.github.com/users/petdance/following{/other_user}","gists_url":"https://api.github.com/users/petdance/gists{/gist_id}","starred_url":"https://api.github.com/users/petdance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petdance/subscriptions","organizations_url":"https://api.github.com/users/petdance/orgs","repos_url":"https://api.github.com/users/petdance/repos","events_url":"https://api.github.com/users/petdance/events{/privacy}","received_events_url":"https://api.github.com/users/petdance/received_events","type":"User","site_admin":false},"open_issues":7,"closed_issues":37,"state":"open","created_at":"2012-07-05T04:21:11Z","updated_at":"2016-04-03T12:17:32Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-04-03T01:47:34Z","updated_at":"2016-04-05T12:50:16Z","closed_at":null,"body":"I saw the other issue of the same name, but don't know if it's the same.\r\nThis is also in 5.1.25\r\nI get an infinite loop with what seems to be fine html.\r\nSo I just wanted to attach the html so someone could try it on the latest.\r\nI just installed tidy-html5 on my Mac using homebrew...\r\n\r\n````\r\nError:\r\nline 19 column 17 - Warning: missing </li> before <a>\r\nline 19 column 21 - Warning: missing <li>\r\nline 19 column 21 - Warning: missing </li> before <a>\r\nThen the last 2 repeat\r\n\r\nThe html is a bit weird_ it has nested <a> elements...\r\n\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n<head>\r\n</head>\r\n<body>\r\n  <!-- Navigation -->\r\n  <nav class=\"navbar navbar-primary navbar-fixed-top\" role=\"navigation\">\r\n    <div class=\"container\">\r\n      <!-- Brand and toggle get grouped for better mobile display -->\r\n      <div class=\"navbar-header\">\r\n        <a class=\"navbar-brand\" href=\"index.html\">\r\n          <img src=\"img/people-count-logo.png\" class=\"img-responsive\" />\r\n        </a>\r\n        <ul class=\"nav navbar-nav navbar-right pull-right\">                   \r\n          <li class=\"dropdown\" valign=\"middle\">\r\n            <a href=\"#\" class=\"dropdown-toggle\" data-toggle=\"dropdown\" style=\"float: right\">\r\n              <span class=\"icon-bar\"></span>\r\n              <ul class=\"dropdown-menu\">\r\n                <li><a href=\"http://PeopleCount.org/about.htm\">About</a></li>\r\n                <li><a href=\"http://PeopleCount.org/how.htm\">How it Works</a></li>\r\n\t      </ul>\r\n\t    </a>\r\n\t  </li>\r\n\t</ul>\r\n      </div>\r\n    </div>\r\n  </nav>\r\n</body>\r\n</html>\r\n````\r\n\r\nEdit: Added tick marks to see html\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/htacg/tidy-html5/issues/comments/205784982","html_url":"https://github.com/htacg/tidy-html5/issues/393#issuecomment-205784982","issue_url":"https://api.github.com/repos/htacg/tidy-html5/issues/393","id":205784982,"user":{"login":"geoffmcl","id":1333435,"avatar_url":"https://avatars.githubusercontent.com/u/1333435?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffmcl","html_url":"https://github.com/geoffmcl","followers_url":"https://api.github.com/users/geoffmcl/followers","following_url":"https://api.github.com/users/geoffmcl/following{/other_user}","gists_url":"https://api.github.com/users/geoffmcl/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffmcl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffmcl/subscriptions","organizations_url":"https://api.github.com/users/geoffmcl/orgs","repos_url":"https://api.github.com/users/geoffmcl/repos","events_url":"https://api.github.com/users/geoffmcl/events{/privacy}","received_events_url":"https://api.github.com/users/geoffmcl/received_events","type":"User","site_admin":false},"created_at":"2016-04-05T12:50:16Z","updated_at":"2016-04-05T12:50:16Z","body":"@rstrauss hmmmm, reading around I think you could install the `cmake` command line tool using your `homebrew`\r\n\r\n```\r\n$ brew install cmake\r\n```\r\n\r\nBut using the cmake-gui is also quite easy. It would just replace the 3rd line with some GUI steps, and generate the makefile system of your choice, on configure... \r\n\r\nI wonder whether it was the simple **curses** gui, `ccmake`, or the full **Qt** based `cmake-gui`? Just curious...\r\n\r\nAnyway, glad you got current **tidy** built and installed... You can now always keep up with the **latest** by -\r\n\r\n```\r\n$ cd tidy-html5\r\n$ git pull\r\n$ then cmake configure and build\r\n```\r\n\r\nHave you had a chance to test out the latest **tidy** on your sample html?\r\n\r\nIf the problem is **fixed** appreciate you closing this issue... thanks...\r\n"}}