{"action":"closed","issue":{"url":"https://api.github.com/repos/github/linguist/issues/2285","labels_url":"https://api.github.com/repos/github/linguist/issues/2285/labels{/name}","comments_url":"https://api.github.com/repos/github/linguist/issues/2285/comments","events_url":"https://api.github.com/repos/github/linguist/issues/2285/events","html_url":"https://github.com/github/linguist/issues/2285","id":65112216,"number":2285,"title":"Shell highlighting single quotes is wrong.","user":{"login":"phase","id":7685133,"avatar_url":"https://avatars.githubusercontent.com/u/7685133?v=3","gravatar_id":"","url":"https://api.github.com/users/phase","html_url":"https://github.com/phase","followers_url":"https://api.github.com/users/phase/followers","following_url":"https://api.github.com/users/phase/following{/other_user}","gists_url":"https://api.github.com/users/phase/gists{/gist_id}","starred_url":"https://api.github.com/users/phase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phase/subscriptions","organizations_url":"https://api.github.com/users/phase/orgs","repos_url":"https://api.github.com/users/phase/repos","events_url":"https://api.github.com/users/phase/events{/privacy}","received_events_url":"https://api.github.com/users/phase/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-30T00:47:00Z","updated_at":"2015-03-30T05:06:58Z","closed_at":"2015-03-30T05:06:58Z","body":"When highlighting shell code with `'` in it, the highlighter goes bananas. [As seen here.](https://github.com/lukkit/Lukkit/blob/master/lukkit#L12-25)\r\n\r\n```shell\r\nlukkit_help(){\r\n    echo Lukkit\r\n    echo Available Commands:\r\n    command -v column >/dev/null 2>&1 && cmd=\"column -t -s -\" || cmd=cat\r\n    $cmd <<<'\r\n    lukkit init        | Initialize Lukkit\r\n    lukkit patch apply | Apply patches to build/\r\n    lukkit patch build | Build patches from build/'\r\n}\r\n\r\nlukkit_init(){\r\n    git submodule update --init\r\n    cp -a indirect/Bukkit build/Bukkit\r\n    cp -a indirect/CraftBukkit build/CraftBukkit\r\n    lukkit_patch_apply\r\n}\r\n\r\nlukkit_patch(){\r\n    echo \"Use: 'lukkit patch [apply|build]\r\n    exit 1\r\n}\r\n```"}}