{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/pandoc/issues/3733","repository_url":"https://api.github.com/repos/jgm/pandoc","labels_url":"https://api.github.com/repos/jgm/pandoc/issues/3733/labels{/name}","comments_url":"https://api.github.com/repos/jgm/pandoc/issues/3733/comments","events_url":"https://api.github.com/repos/jgm/pandoc/issues/3733/events","html_url":"https://github.com/jgm/pandoc/issues/3733","id":235065716,"number":3733,"title":"Incorrect parsing of markdown_github","user":{"login":"pri22296","id":11555869,"avatar_url":"https://avatars0.githubusercontent.com/u/11555869?v=3","gravatar_id":"","url":"https://api.github.com/users/pri22296","html_url":"https://github.com/pri22296","followers_url":"https://api.github.com/users/pri22296/followers","following_url":"https://api.github.com/users/pri22296/following{/other_user}","gists_url":"https://api.github.com/users/pri22296/gists{/gist_id}","starred_url":"https://api.github.com/users/pri22296/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pri22296/subscriptions","organizations_url":"https://api.github.com/users/pri22296/orgs","repos_url":"https://api.github.com/users/pri22296/repos","events_url":"https://api.github.com/users/pri22296/events{/privacy}","received_events_url":"https://api.github.com/users/pri22296/received_events","type":"User","site_admin":false},"labels":[{"id":423176461,"url":"https://api.github.com/repos/jgm/pandoc/labels/format:Markdown","name":"format:Markdown","color":"c2e0c6","default":false},{"id":484597898,"url":"https://api.github.com/repos/jgm/pandoc/labels/reader","name":"reader","color":"d4c5f9","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-06-11T13:30:09Z","updated_at":"2017-06-11T19:31:00Z","closed_at":null,"body":"converting the following as `markdown_github` to `html`\r\n\r\n``````\r\n- Item1\r\n- Item2\r\n```yaml\r\nsection:\r\n  - Code Line1\r\n  - Code Line2\r\n```\r\n``````\r\n gives\r\n\r\n```\r\n<ul>\r\n<li>Item1</li>\r\n<li>Item2<br />\r\n```yaml<br />\r\nsection:</li>\r\n<li>Code Line1</li>\r\n<li>Code Line2<br />\r\n```</li>\r\n</ul>\r\n```\r\n\r\nwhile github renders it correctly.\r\n![screenshot 140](https://user-images.githubusercontent.com/11555869/27011337-0dfab4f2-4ed7-11e7-8002-fbfff066b806.png)\r\n\r\nIt seems pandoc's `markdown_github` reader is not able to parse the code block correctly due to presence of `-` inside the codeblock. If `-` is removed inside the code block, it is converted correctly.\r\n\r\nPandoc version : 1.19.2"},"comment":{"url":"https://api.github.com/repos/jgm/pandoc/issues/comments/307651081","html_url":"https://github.com/jgm/pandoc/issues/3733#issuecomment-307651081","issue_url":"https://api.github.com/repos/jgm/pandoc/issues/3733","id":307651081,"user":{"login":"jgm","id":3044,"avatar_url":"https://avatars3.githubusercontent.com/u/3044?v=3","gravatar_id":"","url":"https://api.github.com/users/jgm","html_url":"https://github.com/jgm","followers_url":"https://api.github.com/users/jgm/followers","following_url":"https://api.github.com/users/jgm/following{/other_user}","gists_url":"https://api.github.com/users/jgm/gists{/gist_id}","starred_url":"https://api.github.com/users/jgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgm/subscriptions","organizations_url":"https://api.github.com/users/jgm/orgs","repos_url":"https://api.github.com/users/jgm/repos","events_url":"https://api.github.com/users/jgm/events{/privacy}","received_events_url":"https://api.github.com/users/jgm/received_events","type":"User","site_admin":false},"created_at":"2017-06-11T19:31:00Z","updated_at":"2017-06-11T19:31:00Z","body":"Here's a smaller case (it has nothing to do with `markdown_github` specifically, so this just uses default pandoc `markdown`):\r\n\r\n````\r\n% pandoc\r\n- a\r\n```\r\n- b\r\n```\r\n^D\r\n<ul>\r\n<li>a ```</li>\r\n<li>b ```</li>\r\n</ul>\r\n````\r\n\r\nPandoc's method for identifying the raw text of a list item is apparently not sensitive to fenced code, when there is no blank line before the fence.\r\n\r\n"}}
{"actor":{"display_login":"jgm"}}