{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/CommonMark/issues/177","labels_url":"https://api.github.com/repos/jgm/CommonMark/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/jgm/CommonMark/issues/177/comments","events_url":"https://api.github.com/repos/jgm/CommonMark/issues/177/events","html_url":"https://github.com/jgm/CommonMark/issues/177","id":47508192,"number":177,"title":"\"HTML blocks\" section vague, doesn't match parsers","user":{"login":"jmendeth","id":1177304,"avatar_url":"https://avatars.githubusercontent.com/u/1177304?v=3","gravatar_id":"","url":"https://api.github.com/users/jmendeth","html_url":"https://github.com/jmendeth","followers_url":"https://api.github.com/users/jmendeth/followers","following_url":"https://api.github.com/users/jmendeth/following{/other_user}","gists_url":"https://api.github.com/users/jmendeth/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendeth/subscriptions","organizations_url":"https://api.github.com/users/jmendeth/orgs","repos_url":"https://api.github.com/users/jmendeth/repos","events_url":"https://api.github.com/users/jmendeth/events{/privacy}","received_events_url":"https://api.github.com/users/jmendeth/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jgm/CommonMark/labels/spec","name":"spec","color":"0052cc"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2014-11-01T15:17:35Z","updated_at":"2015-06-08T20:26:04Z","closed_at":null,"body":"The HTML blocks section provides the definition of an HTML block tag.\r\nLater on, the following example is presented:\r\n\r\n~~~\r\n<div class\r\nfoo\r\n~~~\r\n\r\nThe example header says: \"An incomplete HTML block tag may also start an HTML block\"\r\n\r\nThe problem with this is: **what's an incomplete HTML block tag?** There's no definition that allows me to parse the syntax for such a tag. Does a single `<` count as an incomplete tag? According to the [current] rules of HTML block parsing, the above would render as `<p>&lt;div class\\nfoo</p>`.\r\n\r\nBut even if we do provide a definition, what's the point in allowing incomplete tags? Could that be useful sometimes? And, more importantly, if an incomplete block tag can start a block, **why can't an incomplete comment, or an incomplete CDATA section, or an incomplete processing instruction start a block?**\r\n\r\n~~~\r\n<!--\r\n\r\nMarkdown here\r\n\r\n-->\r\n~~~\r\n\r\n~~~\r\n<![CDATA[ some data\r\n~~~\r\n"},"comment":{"url":"https://api.github.com/repos/jgm/CommonMark/issues/comments/110127135","html_url":"https://github.com/jgm/CommonMark/issues/177#issuecomment-110127135","issue_url":"https://api.github.com/repos/jgm/CommonMark/issues/177","id":110127135,"user":{"login":"jmendeth","id":1177304,"avatar_url":"https://avatars.githubusercontent.com/u/1177304?v=3","gravatar_id":"","url":"https://api.github.com/users/jmendeth","html_url":"https://github.com/jmendeth","followers_url":"https://api.github.com/users/jmendeth/followers","following_url":"https://api.github.com/users/jmendeth/following{/other_user}","gists_url":"https://api.github.com/users/jmendeth/gists{/gist_id}","starred_url":"https://api.github.com/users/jmendeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmendeth/subscriptions","organizations_url":"https://api.github.com/users/jmendeth/orgs","repos_url":"https://api.github.com/users/jmendeth/repos","events_url":"https://api.github.com/users/jmendeth/events{/privacy}","received_events_url":"https://api.github.com/users/jmendeth/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T20:26:04Z","updated_at":"2015-06-08T20:26:04Z","body":"Hmm, I like that proposal! As long as it's well defined, this issue can be closed when / if it's implemented in the spec."}}