{"action":"closed","issue":{"url":"https://api.github.com/repos/gnab/remark/issues/411","repository_url":"https://api.github.com/repos/gnab/remark","labels_url":"https://api.github.com/repos/gnab/remark/issues/411/labels{/name}","comments_url":"https://api.github.com/repos/gnab/remark/issues/411/comments","events_url":"https://api.github.com/repos/gnab/remark/issues/411/events","html_url":"https://github.com/gnab/remark/issues/411","id":203938020,"number":411,"title":"Inline code block occur bug","user":{"login":"Vnthf","id":6292309,"avatar_url":"https://avatars3.githubusercontent.com/u/6292309?v=4","gravatar_id":"","url":"https://api.github.com/users/Vnthf","html_url":"https://github.com/Vnthf","followers_url":"https://api.github.com/users/Vnthf/followers","following_url":"https://api.github.com/users/Vnthf/following{/other_user}","gists_url":"https://api.github.com/users/Vnthf/gists{/gist_id}","starred_url":"https://api.github.com/users/Vnthf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vnthf/subscriptions","organizations_url":"https://api.github.com/users/Vnthf/orgs","repos_url":"https://api.github.com/users/Vnthf/repos","events_url":"https://api.github.com/users/Vnthf/events{/privacy}","received_events_url":"https://api.github.com/users/Vnthf/received_events","type":"User","site_admin":false},"labels":[{"id":103686513,"url":"https://api.github.com/repos/gnab/remark/labels/bug","name":"bug","color":"e11d21","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-01-30T06:47:35Z","updated_at":"2017-10-14T20:28:46Z","closed_at":"2017-10-14T20:28:46Z","author_association":"NONE","body":"Inline code block causes a bug.\r\nThe common markdown syntax allows backticks to allow inline code blocks from one to infinity. For example, ` ``inlinecode`` ` is an inline code block.\r\nBy the way, the regular expression in lexer.js in the remark is / '([^ `] +?)` / So only one backtick is allowed.\r\n\r\nI'm sure the regular expression is wrong. But before changing the regular expression, inline code is an inline element, so it is wrong to include it in the block element in lexer.js\r\n\r\n```\r\n    else if (cap[INLINE_CODE]) {\r\n      tokens.push({\r\n        type: 'text',\r\n        text: cap[0]\r\n      });\r\n    }\r\n```"}}
{"actor":{"display_login":"gnab"}}