{"action":"created","issue":{"url":"https://api.github.com/repos/eberhardt/moodle-filter_collapsible/issues/3","labels_url":"https://api.github.com/repos/eberhardt/moodle-filter_collapsible/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/eberhardt/moodle-filter_collapsible/issues/3/comments","events_url":"https://api.github.com/repos/eberhardt/moodle-filter_collapsible/issues/3/events","html_url":"https://github.com/eberhardt/moodle-filter_collapsible/issues/3","id":109076190,"number":3,"title":"Empty content with new version","user":{"login":"nmouillet","id":6358307,"avatar_url":"https://avatars.githubusercontent.com/u/6358307?v=3","gravatar_id":"","url":"https://api.github.com/users/nmouillet","html_url":"https://github.com/nmouillet","followers_url":"https://api.github.com/users/nmouillet/followers","following_url":"https://api.github.com/users/nmouillet/following{/other_user}","gists_url":"https://api.github.com/users/nmouillet/gists{/gist_id}","starred_url":"https://api.github.com/users/nmouillet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmouillet/subscriptions","organizations_url":"https://api.github.com/users/nmouillet/orgs","repos_url":"https://api.github.com/users/nmouillet/repos","events_url":"https://api.github.com/users/nmouillet/events{/privacy}","received_events_url":"https://api.github.com/users/nmouillet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-30T12:25:47Z","updated_at":"2015-09-30T13:24:30Z","closed_at":null,"body":"Thanks for the update in Moodle Plugin Repos but with the new version of the filter, the content of the collapsible region is empty when I deploy the region (the text don't appear anymore in the HTML code of the page). The problem disappears when I replace the new filter.php with the old one."},"comment":{"url":"https://api.github.com/repos/eberhardt/moodle-filter_collapsible/issues/comments/144393870","html_url":"https://github.com/eberhardt/moodle-filter_collapsible/issues/3#issuecomment-144393870","issue_url":"https://api.github.com/repos/eberhardt/moodle-filter_collapsible/issues/3","id":144393870,"user":{"login":"nmouillet","id":6358307,"avatar_url":"https://avatars.githubusercontent.com/u/6358307?v=3","gravatar_id":"","url":"https://api.github.com/users/nmouillet","html_url":"https://github.com/nmouillet","followers_url":"https://api.github.com/users/nmouillet/followers","following_url":"https://api.github.com/users/nmouillet/following{/other_user}","gists_url":"https://api.github.com/users/nmouillet/gists{/gist_id}","starred_url":"https://api.github.com/users/nmouillet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nmouillet/subscriptions","organizations_url":"https://api.github.com/users/nmouillet/orgs","repos_url":"https://api.github.com/users/nmouillet/repos","events_url":"https://api.github.com/users/nmouillet/events{/privacy}","received_events_url":"https://api.github.com/users/nmouillet/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T13:24:30Z","updated_at":"2015-09-30T13:24:30Z","body":"Yes it's beacause it's my own old filter.php which include some custom modification regarding the previous bug report i've made (with the id's), so it's a little bit different than the original old filter.php.\r\n \r\nIt's seems that the problem comes exactly from $tail = $match[2]; because if I change to $tail = trim(substr($tail, strpos($tail, ']') + 1)); it's all ok. But here's where my PHP knowledge stops..."}}