{"action":"created","issue":{"url":"https://api.github.com/repos/chaijs/chai-docs/issues/132","repository_url":"https://api.github.com/repos/chaijs/chai-docs","labels_url":"https://api.github.com/repos/chaijs/chai-docs/issues/132/labels{/name}","comments_url":"https://api.github.com/repos/chaijs/chai-docs/issues/132/comments","events_url":"https://api.github.com/repos/chaijs/chai-docs/issues/132/events","html_url":"https://github.com/chaijs/chai-docs/pull/132","id":154872195,"number":132,"title":"Added missing test suite","user":{"login":"aaronsofaly","id":891087,"avatar_url":"https://avatars.githubusercontent.com/u/891087?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronsofaly","html_url":"https://github.com/aaronsofaly","followers_url":"https://api.github.com/users/aaronsofaly/followers","following_url":"https://api.github.com/users/aaronsofaly/following{/other_user}","gists_url":"https://api.github.com/users/aaronsofaly/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronsofaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronsofaly/subscriptions","organizations_url":"https://api.github.com/users/aaronsofaly/orgs","repos_url":"https://api.github.com/users/aaronsofaly/repos","events_url":"https://api.github.com/users/aaronsofaly/events{/privacy}","received_events_url":"https://api.github.com/users/aaronsofaly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-14T19:48:20Z","updated_at":"2016-05-15T21:59:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chaijs/chai-docs/pulls/132","html_url":"https://github.com/chaijs/chai-docs/pull/132","diff_url":"https://github.com/chaijs/chai-docs/pull/132.diff","patch_url":"https://github.com/chaijs/chai-docs/pull/132.patch"},"body":"You can see the test suite working here, http://aaronsofaly.github.io/chai-docs/api/test/.\r\n\r\nThere's a bug related to the syntax highlighting on that page though.\r\n\r\nThe /api/test.md file includes this line:\r\nUse it to confirm that Chai will function correctly in your browser environment (`should` does not work in IE9).\r\n\r\nOn page load, the `should` syntax highlighting for that line functions correctly. But as soon as the tests are done running, the character encoding around the `should` changes and then you see `<span class=\"nx\">should</span>`.\r\n\r\nYou can confirm this by visiting the test page, see all the tests run, then scroll all the way back to the top to see the character encoding issue.\r\n\r\nThe old site doesn't have this issue as the syntax highlighting for that site doesn't add css classes and spans.\r\n\r\nI've tried to debug what is causing the issue but so far I haven't been able to figure out what's causing it. I'll continue to debug it and send another PR if I can fix it."},"comment":{"url":"https://api.github.com/repos/chaijs/chai-docs/issues/comments/219313268","html_url":"https://github.com/chaijs/chai-docs/pull/132#issuecomment-219313268","issue_url":"https://api.github.com/repos/chaijs/chai-docs/issues/132","id":219313268,"user":{"login":"aaronsofaly","id":891087,"avatar_url":"https://avatars.githubusercontent.com/u/891087?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronsofaly","html_url":"https://github.com/aaronsofaly","followers_url":"https://api.github.com/users/aaronsofaly/followers","following_url":"https://api.github.com/users/aaronsofaly/following{/other_user}","gists_url":"https://api.github.com/users/aaronsofaly/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronsofaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronsofaly/subscriptions","organizations_url":"https://api.github.com/users/aaronsofaly/orgs","repos_url":"https://api.github.com/users/aaronsofaly/repos","events_url":"https://api.github.com/users/aaronsofaly/events{/privacy}","received_events_url":"https://api.github.com/users/aaronsofaly/received_events","type":"User","site_admin":false},"created_at":"2016-05-15T21:59:11Z","updated_at":"2016-05-15T21:59:11Z","body":"Hey @keithamus!\r\n\r\nYes, I'm actually trying to figure out the best way to automate this as having to copy and paste the tests on each Chai release is kind of a pain.\r\n\r\nI was originally thinking we could copy the tests from Chai's npm module using the Makefile. But then I realized Chai's npm module excludes the tests.\r\n\r\nSo then I thought maybe using Chai as a git submodule. The old_site repo had this but the new site doesn't. So I decided against this because I figured there was a reason it wasn't done this way on the new site.\r\n\r\nSo I'm trying to explore what else we could do. I haven't heard of rawgithub.com before, but it looks interesting. I'll look into maybe going that route."}}