{"action":"created","issue":{"url":"https://api.github.com/repos/Behat/MinkExtension/issues/232","labels_url":"https://api.github.com/repos/Behat/MinkExtension/issues/232/labels{/name}","comments_url":"https://api.github.com/repos/Behat/MinkExtension/issues/232/comments","events_url":"https://api.github.com/repos/Behat/MinkExtension/issues/232/events","html_url":"https://github.com/Behat/MinkExtension/issues/232","id":126677948,"number":232,"title":"Escaping issues with xpathLiteral","user":{"login":"rslid","id":6943027,"avatar_url":"https://avatars.githubusercontent.com/u/6943027?v=3","gravatar_id":"","url":"https://api.github.com/users/rslid","html_url":"https://github.com/rslid","followers_url":"https://api.github.com/users/rslid/followers","following_url":"https://api.github.com/users/rslid/following{/other_user}","gists_url":"https://api.github.com/users/rslid/gists{/gist_id}","starred_url":"https://api.github.com/users/rslid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rslid/subscriptions","organizations_url":"https://api.github.com/users/rslid/orgs","repos_url":"https://api.github.com/users/rslid/repos","events_url":"https://api.github.com/users/rslid/events{/privacy}","received_events_url":"https://api.github.com/users/rslid/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-14T15:28:37Z","updated_at":"2016-01-15T07:09:38Z","closed_at":"2016-01-15T07:09:38Z","body":"Hello,\r\n\r\nFirst I should mention that my coding skills are not great (yet) but this issue is really strange and I can't figure it out in last 2 hours... I am getting value with :arg and I try to escape it with \r\n    $this->getSession()->getSelectorsHandler()->xpathLiteral($text); \r\nbut I'm getting strange error in the console\r\n    missing ; before statement\r\nI checked everything and all semicolons are properly set. Testing string is ~!@#$%^&*()_+ :{}?|-= æøåÆØÅ,./'[]\\\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Behat/MinkExtension/issues/comments/171887333","html_url":"https://github.com/Behat/MinkExtension/issues/232#issuecomment-171887333","issue_url":"https://api.github.com/repos/Behat/MinkExtension/issues/232","id":171887333,"user":{"login":"rslid","id":6943027,"avatar_url":"https://avatars.githubusercontent.com/u/6943027?v=3","gravatar_id":"","url":"https://api.github.com/users/rslid","html_url":"https://github.com/rslid","followers_url":"https://api.github.com/users/rslid/followers","following_url":"https://api.github.com/users/rslid/following{/other_user}","gists_url":"https://api.github.com/users/rslid/gists{/gist_id}","starred_url":"https://api.github.com/users/rslid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rslid/subscriptions","organizations_url":"https://api.github.com/users/rslid/orgs","repos_url":"https://api.github.com/users/rslid/repos","events_url":"https://api.github.com/users/rslid/events{/privacy}","received_events_url":"https://api.github.com/users/rslid/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T07:09:38Z","updated_at":"2016-01-15T07:09:38Z","body":"Actually the issue is with single quote and was caused by custom js which was added. Not a mink issue at all. Sorry for the thread..."}}