{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/commonmark/issues/243","repository_url":"https://api.github.com/repos/thephpleague/commonmark","labels_url":"https://api.github.com/repos/thephpleague/commonmark/issues/243/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/commonmark/issues/243/comments","events_url":"https://api.github.com/repos/thephpleague/commonmark/issues/243/events","html_url":"https://github.com/thephpleague/commonmark/issues/243","id":149661312,"number":243,"title":"Max nesting limit","user":{"login":"mareeo","id":9520224,"avatar_url":"https://avatars.githubusercontent.com/u/9520224?v=3","gravatar_id":"","url":"https://api.github.com/users/mareeo","html_url":"https://github.com/mareeo","followers_url":"https://api.github.com/users/mareeo/followers","following_url":"https://api.github.com/users/mareeo/following{/other_user}","gists_url":"https://api.github.com/users/mareeo/gists{/gist_id}","starred_url":"https://api.github.com/users/mareeo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mareeo/subscriptions","organizations_url":"https://api.github.com/users/mareeo/orgs","repos_url":"https://api.github.com/users/mareeo/repos","events_url":"https://api.github.com/users/mareeo/events{/privacy}","received_events_url":"https://api.github.com/users/mareeo/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/thephpleague/commonmark/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-20T05:15:37Z","updated_at":"2016-05-07T17:58:08Z","closed_at":null,"body":"Some Markdown parsers include nesting limits which causes elements past a certain depth to be omitted.  This is useful allowing user input and wanting to put certain restrictions on it. Thoughts on adding this as an configuration parameter?"},"comment":{"url":"https://api.github.com/repos/thephpleague/commonmark/issues/comments/217656305","html_url":"https://github.com/thephpleague/commonmark/issues/243#issuecomment-217656305","issue_url":"https://api.github.com/repos/thephpleague/commonmark/issues/243","id":217656305,"user":{"login":"cebe","id":189796,"avatar_url":"https://avatars.githubusercontent.com/u/189796?v=3","gravatar_id":"","url":"https://api.github.com/users/cebe","html_url":"https://github.com/cebe","followers_url":"https://api.github.com/users/cebe/followers","following_url":"https://api.github.com/users/cebe/following{/other_user}","gists_url":"https://api.github.com/users/cebe/gists{/gist_id}","starred_url":"https://api.github.com/users/cebe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cebe/subscriptions","organizations_url":"https://api.github.com/users/cebe/orgs","repos_url":"https://api.github.com/users/cebe/repos","events_url":"https://api.github.com/users/cebe/events{/privacy}","received_events_url":"https://api.github.com/users/cebe/received_events","type":"User","site_admin":false},"created_at":"2016-05-07T17:58:08Z","updated_at":"2016-05-07T17:58:08Z","body":"@colinodell here is a little demo about the problem:\r\n\r\nHere is the gist: https://gist.github.com/cebe/615bef8086c9a11d81f568284c18fec5\r\nRun it:\r\n\r\n```\r\ngit clone https://gist.github.com/cebe/615bef8086c9a11d81f568284c18fec5 demo\r\ncd demo\r\ncomposer install\r\nphp demo.php\r\n```\r\n\r\nThis should result in a segmentation fault of PHP.\r\n\r\n"}}