{"action":"created","issue":{"url":"https://api.github.com/repos/thunderer/Shortcode/issues/42","repository_url":"https://api.github.com/repos/thunderer/Shortcode","labels_url":"https://api.github.com/repos/thunderer/Shortcode/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/thunderer/Shortcode/issues/42/comments","events_url":"https://api.github.com/repos/thunderer/Shortcode/issues/42/events","html_url":"https://github.com/thunderer/Shortcode/issues/42","id":170493853,"number":42,"title":"Issue with unregistered shortcode","user":{"login":"leonardoalifraco","id":2942943,"avatar_url":"https://avatars.githubusercontent.com/u/2942943?v=3","gravatar_id":"","url":"https://api.github.com/users/leonardoalifraco","html_url":"https://github.com/leonardoalifraco","followers_url":"https://api.github.com/users/leonardoalifraco/followers","following_url":"https://api.github.com/users/leonardoalifraco/following{/other_user}","gists_url":"https://api.github.com/users/leonardoalifraco/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardoalifraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardoalifraco/subscriptions","organizations_url":"https://api.github.com/users/leonardoalifraco/orgs","repos_url":"https://api.github.com/users/leonardoalifraco/repos","events_url":"https://api.github.com/users/leonardoalifraco/events{/privacy}","received_events_url":"https://api.github.com/users/leonardoalifraco/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thunderer/Shortcode/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"thunderer","id":1087180,"avatar_url":"https://avatars.githubusercontent.com/u/1087180?v=3","gravatar_id":"","url":"https://api.github.com/users/thunderer","html_url":"https://github.com/thunderer","followers_url":"https://api.github.com/users/thunderer/followers","following_url":"https://api.github.com/users/thunderer/following{/other_user}","gists_url":"https://api.github.com/users/thunderer/gists{/gist_id}","starred_url":"https://api.github.com/users/thunderer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thunderer/subscriptions","organizations_url":"https://api.github.com/users/thunderer/orgs","repos_url":"https://api.github.com/users/thunderer/repos","events_url":"https://api.github.com/users/thunderer/events{/privacy}","received_events_url":"https://api.github.com/users/thunderer/received_events","type":"User","site_admin":false},"assignees":[{"login":"thunderer","id":1087180,"avatar_url":"https://avatars.githubusercontent.com/u/1087180?v=3","gravatar_id":"","url":"https://api.github.com/users/thunderer","html_url":"https://github.com/thunderer","followers_url":"https://api.github.com/users/thunderer/followers","following_url":"https://api.github.com/users/thunderer/following{/other_user}","gists_url":"https://api.github.com/users/thunderer/gists{/gist_id}","starred_url":"https://api.github.com/users/thunderer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thunderer/subscriptions","organizations_url":"https://api.github.com/users/thunderer/orgs","repos_url":"https://api.github.com/users/thunderer/repos","events_url":"https://api.github.com/users/thunderer/events{/privacy}","received_events_url":"https://api.github.com/users/thunderer/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/thunderer/Shortcode/milestones/4","html_url":"https://github.com/thunderer/Shortcode/milestones/0.6","labels_url":"https://api.github.com/repos/thunderer/Shortcode/milestones/4/labels","id":1546821,"number":4,"title":"0.6","description":null,"creator":{"login":"thunderer","id":1087180,"avatar_url":"https://avatars.githubusercontent.com/u/1087180?v=3","gravatar_id":"","url":"https://api.github.com/users/thunderer","html_url":"https://github.com/thunderer","followers_url":"https://api.github.com/users/thunderer/followers","following_url":"https://api.github.com/users/thunderer/following{/other_user}","gists_url":"https://api.github.com/users/thunderer/gists{/gist_id}","starred_url":"https://api.github.com/users/thunderer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thunderer/subscriptions","organizations_url":"https://api.github.com/users/thunderer/orgs","repos_url":"https://api.github.com/users/thunderer/repos","events_url":"https://api.github.com/users/thunderer/events{/privacy}","received_events_url":"https://api.github.com/users/thunderer/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":11,"state":"open","created_at":"2016-01-27T17:56:08Z","updated_at":"2016-08-10T21:39:46Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-08-10T19:05:48Z","updated_at":"2016-08-10T21:39:46Z","closed_at":"2016-08-10T21:39:46Z","body":"Hi guys,\r\n\r\nThanks for this package, it is very valuable for integrating Wordpress with other platforms.\r\n\r\nI'm having an issue when I try to replace only a set of shortcodes, specifically with the non handled ones that have \"special\" characters.\r\n\r\nExample:\r\n\r\n```\r\n$handlers = new HandlerContainer();\r\n$processor = new Processor(new RegularParser(), $handlers);\r\n$sampleValue = '[listing-link id=\"12345\"]Holá[/listing-link]';\r\n$processedValue = $processor->process($sampleValue);\r\n$this->assertEquals($sampleValue, $processedValue);\r\n```\r\n\r\nThe test fails and the processedValue has:\r\n\r\n```\r\n[listing-link id=\"12345\"]Holá?[/listing-link]\r\n```\r\n\r\nInstead of returning the same string.\r\n\r\nI've already tried with the Regular and Wordpress parsers, and the behaviours are the same.\r\n\r\nRight now I'm solving the issue by creating a handler that returns the same shortcode, but that's far from the expected functionality."},"comment":{"url":"https://api.github.com/repos/thunderer/Shortcode/issues/comments/239013173","html_url":"https://github.com/thunderer/Shortcode/issues/42#issuecomment-239013173","issue_url":"https://api.github.com/repos/thunderer/Shortcode/issues/42","id":239013173,"user":{"login":"leonardoalifraco","id":2942943,"avatar_url":"https://avatars.githubusercontent.com/u/2942943?v=3","gravatar_id":"","url":"https://api.github.com/users/leonardoalifraco","html_url":"https://github.com/leonardoalifraco","followers_url":"https://api.github.com/users/leonardoalifraco/followers","following_url":"https://api.github.com/users/leonardoalifraco/following{/other_user}","gists_url":"https://api.github.com/users/leonardoalifraco/gists{/gist_id}","starred_url":"https://api.github.com/users/leonardoalifraco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonardoalifraco/subscriptions","organizations_url":"https://api.github.com/users/leonardoalifraco/orgs","repos_url":"https://api.github.com/users/leonardoalifraco/repos","events_url":"https://api.github.com/users/leonardoalifraco/events{/privacy}","received_events_url":"https://api.github.com/users/leonardoalifraco/received_events","type":"User","site_admin":false},"created_at":"2016-08-10T21:39:46Z","updated_at":"2016-08-10T21:39:46Z","body":"Works perfect! Thanks!"}}
{"actor":{"display_login":"leonardoalifraco"}}