{"action":"created","issue":{"url":"https://api.github.com/repos/ehynds/jquery-ui-multiselect-widget/issues/740","repository_url":"https://api.github.com/repos/ehynds/jquery-ui-multiselect-widget","labels_url":"https://api.github.com/repos/ehynds/jquery-ui-multiselect-widget/issues/740/labels{/name}","comments_url":"https://api.github.com/repos/ehynds/jquery-ui-multiselect-widget/issues/740/comments","events_url":"https://api.github.com/repos/ehynds/jquery-ui-multiselect-widget/issues/740/events","html_url":"https://github.com/ehynds/jquery-ui-multiselect-widget/issues/740","id":293767009,"number":740,"title":"Generated HTML markup for Option Groups is invalid","user":{"login":"SteveTheTechie","id":5685883,"avatar_url":"https://avatars0.githubusercontent.com/u/5685883?v=4","gravatar_id":"","url":"https://api.github.com/users/SteveTheTechie","html_url":"https://github.com/SteveTheTechie","followers_url":"https://api.github.com/users/SteveTheTechie/followers","following_url":"https://api.github.com/users/SteveTheTechie/following{/other_user}","gists_url":"https://api.github.com/users/SteveTheTechie/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveTheTechie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveTheTechie/subscriptions","organizations_url":"https://api.github.com/users/SteveTheTechie/orgs","repos_url":"https://api.github.com/users/SteveTheTechie/repos","events_url":"https://api.github.com/users/SteveTheTechie/events{/privacy}","received_events_url":"https://api.github.com/users/SteveTheTechie/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-02T04:04:50Z","updated_at":"2018-02-02T14:54:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Reference [https://validator.w3.org/#validate_by_input](https://validator.w3.org/#validate_by_input)\r\n\r\nThe following models the way that anchor tags are used in the generated markup for option groups. However, this markup is flagged as invalid HTML by the HTML validator.  (I suspected it would be.)\r\n```\r\n<!DOCTYPE HTML SYSTEM>\r\n<html>\r\n<head>\r\n<title>tester</title>\r\n</head>\r\n<body>\r\n<ul>\r\n<a href=\"https://www.google.com/\">test</a>\r\n<li>test2</li>\r\n</ul>\r\n</body>\r\n</html>\r\n```\r\n\r\nIf the anchor can somehow be wrapped in a `<li>`, it is then valid... e.g. the following validates fine:\r\n```\r\n<!DOCTYPE HTML SYSTEM>\r\n<html>\r\n<head>\r\n<title>tester</title>\r\n</head>\r\n<body>\r\n<ul>\r\n<li><a href=\"https://www.google.com/\">test</a></li>\r\n<li>test2</li>\r\n</ul>\r\n</body>\r\n</html>\r\n```"},"comment":{"url":"https://api.github.com/repos/ehynds/jquery-ui-multiselect-widget/issues/comments/362607985","html_url":"https://github.com/ehynds/jquery-ui-multiselect-widget/issues/740#issuecomment-362607985","issue_url":"https://api.github.com/repos/ehynds/jquery-ui-multiselect-widget/issues/740","id":362607985,"user":{"login":"mlh758","id":4331955,"avatar_url":"https://avatars1.githubusercontent.com/u/4331955?v=4","gravatar_id":"","url":"https://api.github.com/users/mlh758","html_url":"https://github.com/mlh758","followers_url":"https://api.github.com/users/mlh758/followers","following_url":"https://api.github.com/users/mlh758/following{/other_user}","gists_url":"https://api.github.com/users/mlh758/gists{/gist_id}","starred_url":"https://api.github.com/users/mlh758/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mlh758/subscriptions","organizations_url":"https://api.github.com/users/mlh758/orgs","repos_url":"https://api.github.com/users/mlh758/repos","events_url":"https://api.github.com/users/mlh758/events{/privacy}","received_events_url":"https://api.github.com/users/mlh758/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T14:54:47Z","updated_at":"2018-02-02T14:54:47Z","author_association":"COLLABORATOR","body":"Probably need a class for the option group ul and a first child selector to modify that first element."}}
{"actor":{"display_login":"mlh758"}}