{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/docs.cucumber.io/issues/163","repository_url":"https://api.github.com/repos/cucumber/docs.cucumber.io","labels_url":"https://api.github.com/repos/cucumber/docs.cucumber.io/issues/163/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/docs.cucumber.io/issues/163/comments","events_url":"https://api.github.com/repos/cucumber/docs.cucumber.io/issues/163/events","html_url":"https://github.com/cucumber/docs.cucumber.io/pull/163","id":318814785,"number":163,"title":"[WIP] Fixed highlighting in Tag expresssions example","user":{"login":"xtrasimplicity","id":9316813,"avatar_url":"https://avatars3.githubusercontent.com/u/9316813?v=4","gravatar_id":"","url":"https://api.github.com/users/xtrasimplicity","html_url":"https://github.com/xtrasimplicity","followers_url":"https://api.github.com/users/xtrasimplicity/followers","following_url":"https://api.github.com/users/xtrasimplicity/following{/other_user}","gists_url":"https://api.github.com/users/xtrasimplicity/gists{/gist_id}","starred_url":"https://api.github.com/users/xtrasimplicity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtrasimplicity/subscriptions","organizations_url":"https://api.github.com/users/xtrasimplicity/orgs","repos_url":"https://api.github.com/users/xtrasimplicity/repos","events_url":"https://api.github.com/users/xtrasimplicity/events{/privacy}","received_events_url":"https://api.github.com/users/xtrasimplicity/received_events","type":"User","site_admin":false},"labels":[{"id":604055971,"url":"https://api.github.com/repos/cucumber/docs.cucumber.io/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-30T08:17:19Z","updated_at":"2018-04-30T11:44:21Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/cucumber/docs.cucumber.io/pulls/163","html_url":"https://github.com/cucumber/docs.cucumber.io/pull/163","diff_url":"https://github.com/cucumber/docs.cucumber.io/pull/163.diff","patch_url":"https://github.com/cucumber/docs.cucumber.io/pull/163.patch"},"body":"For some reason,  using fenced code blocks with the language set to `shell` results in special characters (notably, `(`, `)` and `=`) becoming `span` elements with the `o` class. This results in the special characters being rendered black (`#1b1d1e`).\r\n\r\nSee the following snippet for an example of how the HTML is rendered:\r\n```html\r\n<div class=\"highlight\">\r\n  <pre class=\"chroma\">\r\n    <code class=\"language-shell\" data-lang=\"shell\">\r\n      <span class=\"o\">(</span>\r\n      @smoke or @ui\r\n      <span class=\"o\">)</span> \r\n      and \r\n      <span class=\"o\">(</span>\r\n      not @slow\r\n      <span class=\"o\">)</span>\r\n    </code>\r\n  </pre>\r\n</div>\r\n```\r\nTo see the issue in action, navigate to https://docs.cucumber.io/cucumber/api/#tag-expressions. Or see the following images:\r\n![screenshot from 2018-04-30 18-23-06](https://user-images.githubusercontent.com/9316813/39419507-97779a22-4ca3-11e8-9957-b20132befa17.png)\r\n![screenshot from 2018-04-30 18-23-21](https://user-images.githubusercontent.com/9316813/39419509-9c09bd4a-4ca3-11e8-922f-d8e6622b0d1b.png)\r\n\r\n\r\nI've simply removed `.highlight pre code .o` from the `pygments.sass` file. I'm not sure what else this breaks - and I haven't yet tested this. This is more of a WIP than anything.\r\n\r\nThis PR is an attempt to resolve Issue https://github.com/cucumber/docs.cucumber.io/issues/162."},"comment":{"url":"https://api.github.com/repos/cucumber/docs.cucumber.io/issues/comments/385375158","html_url":"https://github.com/cucumber/docs.cucumber.io/pull/163#issuecomment-385375158","issue_url":"https://api.github.com/repos/cucumber/docs.cucumber.io/issues/163","id":385375158,"user":{"login":"xtrasimplicity","id":9316813,"avatar_url":"https://avatars3.githubusercontent.com/u/9316813?v=4","gravatar_id":"","url":"https://api.github.com/users/xtrasimplicity","html_url":"https://github.com/xtrasimplicity","followers_url":"https://api.github.com/users/xtrasimplicity/followers","following_url":"https://api.github.com/users/xtrasimplicity/following{/other_user}","gists_url":"https://api.github.com/users/xtrasimplicity/gists{/gist_id}","starred_url":"https://api.github.com/users/xtrasimplicity/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xtrasimplicity/subscriptions","organizations_url":"https://api.github.com/users/xtrasimplicity/orgs","repos_url":"https://api.github.com/users/xtrasimplicity/repos","events_url":"https://api.github.com/users/xtrasimplicity/events{/privacy}","received_events_url":"https://api.github.com/users/xtrasimplicity/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T11:44:21Z","updated_at":"2018-04-30T11:44:21Z","author_association":"CONTRIBUTOR","body":"@mlvandijk Yeah, I found making the change using my browser's developer tools works fine, but I can't seem to replicate it in the codebase. I'll take another look at this tomorrow and see how I go - it's been a long day. :)"}}
{"actor":{"display_login":"xtrasimplicity"}}