{"action":"created","issue":{"url":"https://api.github.com/repos/atom/language-gfm/issues/215","repository_url":"https://api.github.com/repos/atom/language-gfm","labels_url":"https://api.github.com/repos/atom/language-gfm/issues/215/labels{/name}","comments_url":"https://api.github.com/repos/atom/language-gfm/issues/215/comments","events_url":"https://api.github.com/repos/atom/language-gfm/issues/215/events","html_url":"https://github.com/atom/language-gfm/issues/215","id":263923579,"number":215,"title":"Bug: Code highlighting in markdown does not stop after closing ticks (```)","user":{"login":"pilarArr","id":26302137,"avatar_url":"https://avatars0.githubusercontent.com/u/26302137?v=4","gravatar_id":"","url":"https://api.github.com/users/pilarArr","html_url":"https://github.com/pilarArr","followers_url":"https://api.github.com/users/pilarArr/followers","following_url":"https://api.github.com/users/pilarArr/following{/other_user}","gists_url":"https://api.github.com/users/pilarArr/gists{/gist_id}","starred_url":"https://api.github.com/users/pilarArr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pilarArr/subscriptions","organizations_url":"https://api.github.com/users/pilarArr/orgs","repos_url":"https://api.github.com/users/pilarArr/repos","events_url":"https://api.github.com/users/pilarArr/events{/privacy}","received_events_url":"https://api.github.com/users/pilarArr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-09T14:52:45Z","updated_at":"2017-10-10T05:20:59Z","closed_at":"2017-10-10T05:20:59Z","author_association":"NONE","body":"<!--\r\n\r\nHave you read Atom's Code of Conduct? By filing an Issue, you are expected to comply with it, including treating everyone with respect: https://github.com/atom/atom/blob/master/CODE_OF_CONDUCT.md\r\n\r\nDo you want to ask a question? Are you looking for support? The Atom message board is the best place for getting support: https://discuss.atom.io\r\n\r\n-->\r\n\r\n### Prerequisites\r\n\r\n* [X] Put an X between the brackets on this line if you have done all of the following:\r\n    * Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode\r\n    * Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/\r\n    * Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq\r\n    * Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom\r\n    * Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages\r\n\r\n### Description\r\n\r\nIf you define a language in the code block for syntax highlighting, if you don't close something in the code properly it continues to highlight code even after the closing ticks (```)\r\n\r\n### Steps to Reproduce\r\n\r\n1. Create a `test.md` file in atom\r\n2. Try this text:\r\n\r\n```\r\n    This text here is normal\r\n\r\n    Now we have a javascript code block with a non closed function\r\n    ```javascript\r\n    const hello = {\r\n    ```\r\n    This text still looks like it's code highlighted.\r\n```\r\n\r\n**Expected behavior:**  The second line shouldn't be highlighted as code syntax after the closing ticks even if the function inside the code block is not closed. The syntax highlighting should end when the code block ends regardless of the code inside.\r\n\r\n**Actual behavior:** The code after the closure for a code block looks like it's syntax highlighted\r\n\r\n**Reproduces how often:** 100%\r\n\r\n### Versions\r\n\r\nAtom    : 1.22.0-beta0\r\nElectron: 1.6.9\r\nChrome  : 56.0.2924.87\r\nNode    : 7.4.0\r\nOS: macOS High Sierra 10.13\r\n\r\n### Additional Information\r\n\r\nAny additional information, configuration or data that might be necessary to reproduce the issue.\r\n"},"comment":{"url":"https://api.github.com/repos/atom/language-gfm/issues/comments/335363852","html_url":"https://github.com/atom/language-gfm/issues/215#issuecomment-335363852","issue_url":"https://api.github.com/repos/atom/language-gfm/issues/215","id":335363852,"user":{"login":"rsese","id":734194,"avatar_url":"https://avatars1.githubusercontent.com/u/734194?v=4","gravatar_id":"","url":"https://api.github.com/users/rsese","html_url":"https://github.com/rsese","followers_url":"https://api.github.com/users/rsese/followers","following_url":"https://api.github.com/users/rsese/following{/other_user}","gists_url":"https://api.github.com/users/rsese/gists{/gist_id}","starred_url":"https://api.github.com/users/rsese/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsese/subscriptions","organizations_url":"https://api.github.com/users/rsese/orgs","repos_url":"https://api.github.com/users/rsese/repos","events_url":"https://api.github.com/users/rsese/events{/privacy}","received_events_url":"https://api.github.com/users/rsese/received_events","type":"User","site_admin":true},"created_at":"2017-10-10T05:20:59Z","updated_at":"2017-10-10T05:20:59Z","author_association":"OWNER","body":"Thanks for taking the time to contribute!\r\n\r\nAfter reading through it, I think this is a duplicate of https://github.com/atom/language-gfm/issues/21 so you can subscribe there for updates if you'd like.\r\n\r\n---\r\n\r\nBecause we treat our issues list as [the Atom team's backlog](https://en.wikipedia.org/wiki/Scrum_(software_development)#Product_backlog), we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.\r\n\r\nFor information on how to use GitHub's search feature to find out if something is a duplicate before filing, see [the How Can I Contribute? section of the Atom CONTRIBUTING guide](https://github.com/atom/atom/blob/master/CONTRIBUTING.md#how-can-i-contribute)."}}
{"actor":{"display_login":"rsese"}}