{"action":"opened","issue":{"url":"https://api.github.com/repos/thephpleague/html-to-markdown/issues/69","labels_url":"https://api.github.com/repos/thephpleague/html-to-markdown/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/html-to-markdown/issues/69/comments","events_url":"https://api.github.com/repos/thephpleague/html-to-markdown/issues/69/events","html_url":"https://github.com/thephpleague/html-to-markdown/issues/69","id":115187209,"number":69,"title":"Unbalanced square brackets in links should be escaped","user":{"login":"marijnvdwerf","id":737603,"avatar_url":"https://avatars.githubusercontent.com/u/737603?v=3","gravatar_id":"","url":"https://api.github.com/users/marijnvdwerf","html_url":"https://github.com/marijnvdwerf","followers_url":"https://api.github.com/users/marijnvdwerf/followers","following_url":"https://api.github.com/users/marijnvdwerf/following{/other_user}","gists_url":"https://api.github.com/users/marijnvdwerf/gists{/gist_id}","starred_url":"https://api.github.com/users/marijnvdwerf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marijnvdwerf/subscriptions","organizations_url":"https://api.github.com/users/marijnvdwerf/orgs","repos_url":"https://api.github.com/users/marijnvdwerf/repos","events_url":"https://api.github.com/users/marijnvdwerf/events{/privacy}","received_events_url":"https://api.github.com/users/marijnvdwerf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-05T01:11:20Z","updated_at":"2015-11-05T01:11:20Z","closed_at":null,"body":"**Input**:\r\n```html\r\n<p><a href=\"http://www.php7book.com/\">Your guide to [[...] more.</a></p>\r\n<p><a href=\"http://www.php7book.com/\">Your guide to [...] more.</a></p>\r\n<p><a href=\"http://www.php7book.com/\">Your guide to [...]] more.</a></p>\r\n```\r\n\r\n**Actual**:\r\n\r\n```md\r\n[Your guide to [[...] more.](http://www.php7book.com/)\r\n\r\n[Your guide to [...] more.](http://www.php7book.com/)\r\n\r\n[Your guide to [...]] more.](http://www.php7book.com/)\r\n```\r\n\r\n\r\n**Expected**:\r\n```md\r\n[Your guide to \\[[...] more.](http://www.php7book.com/)\r\n\r\n[Your guide to [...] more.](http://www.php7book.com/)\r\n\r\n[Your guide to [...]\\] more.](http://www.php7book.com/)\r\n```\r\n"}}