{"action":"created","issue":{"url":"https://api.github.com/repos/nricciar/wikicloth/issues/78","labels_url":"https://api.github.com/repos/nricciar/wikicloth/issues/78/labels{/name}","comments_url":"https://api.github.com/repos/nricciar/wikicloth/issues/78/comments","events_url":"https://api.github.com/repos/nricciar/wikicloth/issues/78/events","html_url":"https://github.com/nricciar/wikicloth/pull/78","id":55907957,"number":78,"title":"Use nokogiri to only autolink text elements. Resolves #77","user":{"login":"dometto","id":147111,"avatar_url":"https://avatars.githubusercontent.com/u/147111?v=3","gravatar_id":"","url":"https://api.github.com/users/dometto","html_url":"https://github.com/dometto","followers_url":"https://api.github.com/users/dometto/followers","following_url":"https://api.github.com/users/dometto/following{/other_user}","gists_url":"https://api.github.com/users/dometto/gists{/gist_id}","starred_url":"https://api.github.com/users/dometto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dometto/subscriptions","organizations_url":"https://api.github.com/users/dometto/orgs","repos_url":"https://api.github.com/users/dometto/repos","events_url":"https://api.github.com/users/dometto/events{/privacy}","received_events_url":"https://api.github.com/users/dometto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-29T14:50:00Z","updated_at":"2015-01-29T14:57:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nricciar/wikicloth/pulls/78","html_url":"https://github.com/nricciar/wikicloth/pull/78","diff_url":"https://github.com/nricciar/wikicloth/pull/78.diff","patch_url":"https://github.com/nricciar/wikicloth/pull/78.patch"},"body":"Issue #77 is caused by auto_linking with `Twitter::Autolink`, which is not sensitive to html `<a>` tags. So it would autolink the `href` attribute of exisiting links. This PR resolves the problem by using nokogori to parse the string to be autolinked, and apply autolinking only to `Nokogiri::Text` nodes."},"comment":{"url":"https://api.github.com/repos/nricciar/wikicloth/issues/comments/72038011","html_url":"https://github.com/nricciar/wikicloth/pull/78#issuecomment-72038011","issue_url":"https://api.github.com/repos/nricciar/wikicloth/issues/78","id":72038011,"user":{"login":"dometto","id":147111,"avatar_url":"https://avatars.githubusercontent.com/u/147111?v=3","gravatar_id":"","url":"https://api.github.com/users/dometto","html_url":"https://github.com/dometto","followers_url":"https://api.github.com/users/dometto/followers","following_url":"https://api.github.com/users/dometto/following{/other_user}","gists_url":"https://api.github.com/users/dometto/gists{/gist_id}","starred_url":"https://api.github.com/users/dometto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dometto/subscriptions","organizations_url":"https://api.github.com/users/dometto/orgs","repos_url":"https://api.github.com/users/dometto/repos","events_url":"https://api.github.com/users/dometto/events{/privacy}","received_events_url":"https://api.github.com/users/dometto/received_events","type":"User","site_admin":false},"created_at":"2015-01-29T14:57:42Z","updated_at":"2015-01-29T14:57:42Z","body":"Note that I didn't manage to get the tests running locally, and although they pass on Travis, I'm not sure the tests are actually running there, either. What should I do to run the tests? `bundle exec rake` just gives me:\r\n\r\n```\r\n$ bundle exec rake\r\n~/.rvm/rubies/ruby-2.0.0-p0/bin/ruby -I\"lib\" -I\"~/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.4.2/lib\" \"~/.rvm/gems/ruby-2.0.0-p0/gems/rake-10.4.2/lib/rake/rake_test_loader.rb\" \"test/*_test.rb\" \r\n$\r\n```"}}