{"action":"created","issue":{"url":"https://api.github.com/repos/caxy/php-htmldiff/issues/14","labels_url":"https://api.github.com/repos/caxy/php-htmldiff/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/caxy/php-htmldiff/issues/14/comments","events_url":"https://api.github.com/repos/caxy/php-htmldiff/issues/14/events","html_url":"https://github.com/caxy/php-htmldiff/pull/14","id":107765136,"number":14,"title":"Created ListDiff class to handle diffing of lists.","user":{"login":"adamCaxy","id":8698709,"avatar_url":"https://avatars.githubusercontent.com/u/8698709?v=3","gravatar_id":"","url":"https://api.github.com/users/adamCaxy","html_url":"https://github.com/adamCaxy","followers_url":"https://api.github.com/users/adamCaxy/followers","following_url":"https://api.github.com/users/adamCaxy/following{/other_user}","gists_url":"https://api.github.com/users/adamCaxy/gists{/gist_id}","starred_url":"https://api.github.com/users/adamCaxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamCaxy/subscriptions","organizations_url":"https://api.github.com/users/adamCaxy/orgs","repos_url":"https://api.github.com/users/adamCaxy/repos","events_url":"https://api.github.com/users/adamCaxy/events{/privacy}","received_events_url":"https://api.github.com/users/adamCaxy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caxy/php-htmldiff/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"jschroed91","id":2540804,"avatar_url":"https://avatars.githubusercontent.com/u/2540804?v=3","gravatar_id":"","url":"https://api.github.com/users/jschroed91","html_url":"https://github.com/jschroed91","followers_url":"https://api.github.com/users/jschroed91/followers","following_url":"https://api.github.com/users/jschroed91/following{/other_user}","gists_url":"https://api.github.com/users/jschroed91/gists{/gist_id}","starred_url":"https://api.github.com/users/jschroed91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschroed91/subscriptions","organizations_url":"https://api.github.com/users/jschroed91/orgs","repos_url":"https://api.github.com/users/jschroed91/repos","events_url":"https://api.github.com/users/jschroed91/events{/privacy}","received_events_url":"https://api.github.com/users/jschroed91/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-22T17:48:06Z","updated_at":"2015-09-29T17:47:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caxy/php-htmldiff/pulls/14","html_url":"https://github.com/caxy/php-htmldiff/pull/14","diff_url":"https://github.com/caxy/php-htmldiff/pull/14.diff","patch_url":"https://github.com/caxy/php-htmldiff/pull/14.patch"},"body":"Created ListDiff class to handle diffing of lists."},"comment":{"url":"https://api.github.com/repos/caxy/php-htmldiff/issues/comments/144133636","html_url":"https://github.com/caxy/php-htmldiff/pull/14#issuecomment-144133636","issue_url":"https://api.github.com/repos/caxy/php-htmldiff/issues/14","id":144133636,"user":{"login":"jschroed91","id":2540804,"avatar_url":"https://avatars.githubusercontent.com/u/2540804?v=3","gravatar_id":"","url":"https://api.github.com/users/jschroed91","html_url":"https://github.com/jschroed91","followers_url":"https://api.github.com/users/jschroed91/followers","following_url":"https://api.github.com/users/jschroed91/following{/other_user}","gists_url":"https://api.github.com/users/jschroed91/gists{/gist_id}","starred_url":"https://api.github.com/users/jschroed91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jschroed91/subscriptions","organizations_url":"https://api.github.com/users/jschroed91/orgs","repos_url":"https://api.github.com/users/jschroed91/repos","events_url":"https://api.github.com/users/jschroed91/events{/privacy}","received_events_url":"https://api.github.com/users/jschroed91/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T17:47:58Z","updated_at":"2015-09-29T17:47:58Z","body":"I've been encountering some errors testing with the demo, some of them would be fixed by the comments suggested but I think there may be some additional issues with how the nested placeholders are processed.\r\n\r\nHere is a Gist with \"old text\" and \"new text\" that I've been testing with, taken from a real example in cdpACCESS: https://gist.github.com/jschroed91/ed6a21856b86e5ea7ff1\r\n\r\nWhile testing on the demo, I suggest updating line 6 in the demo/index.php file to be `error_reporting(E_ALL)`, and then take a look at the errors / notices that are output -- it's quite helpful.\r\n\r\nI made some updates locally to fix the issue when lists have attributes (like class), and landed on an issue that appears to be related to processing the nested placeholders:\r\n![selection_320](https://cloud.githubusercontent.com/assets/2540804/10173127/4e597f60-66a8-11e5-9d8a-10d300e37621.png)\r\n"}}