{"action":"opened","issue":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1178","labels_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1178/labels{/name}","comments_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1178/comments","events_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1178/events","html_url":"https://github.com/splitbrain/dokuwiki/issues/1178","id":82355035,"number":1178,"title":"Previous API fix is fail","user":{"login":"dbfun","id":6669049,"avatar_url":"https://avatars.githubusercontent.com/u/6669049?v=3","gravatar_id":"","url":"https://api.github.com/users/dbfun","html_url":"https://github.com/dbfun","followers_url":"https://api.github.com/users/dbfun/followers","following_url":"https://api.github.com/users/dbfun/following{/other_user}","gists_url":"https://api.github.com/users/dbfun/gists{/gist_id}","starred_url":"https://api.github.com/users/dbfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbfun/subscriptions","organizations_url":"https://api.github.com/users/dbfun/orgs","repos_url":"https://api.github.com/users/dbfun/repos","events_url":"https://api.github.com/users/dbfun/events{/privacy}","received_events_url":"https://api.github.com/users/dbfun/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-29T09:40:44Z","updated_at":"2015-05-29T09:40:44Z","closed_at":null,"body":"Hi!\r\n\r\n[This bug fix is fail](https://bugs.dokuwiki.org/index.php?do=details&task_id=2563)\r\n\r\nExplanation: it blocks a normal work of API. \r\n\r\nF.e. [Semantic Action Plugin lines 140-143](https://github.com/LotarProject/dokuwiki-plugin-semantic/blob/master/action.php)\r\n\r\n```\r\n$event->data[\"script\"][] = array (\r\n    \"type\"  => \"application/ld+json\",\r\n    \"_data\" => json_encode($json_ld),\r\n);\r\n```\r\n\r\nwill produce:\r\n\r\n```\r\n<script type=\"application/ld+json\">/*<![CDATA[*/{MY_DATA}\r\n/*!]]>*/</script>\r\n```\r\n\r\nAnd this markup is invalid, plugin not works.\r\n\r\nTo reproduce: \r\n\r\n* install Semantic Action Plugin\r\n* check markup via any validator. I use [this](https://webmaster.yandex.ru/microtest.xml)"}}