{"action":"created","issue":{"url":"https://api.github.com/repos/domchristie/to-markdown/issues/157","repository_url":"https://api.github.com/repos/domchristie/to-markdown","labels_url":"https://api.github.com/repos/domchristie/to-markdown/issues/157/labels{/name}","comments_url":"https://api.github.com/repos/domchristie/to-markdown/issues/157/comments","events_url":"https://api.github.com/repos/domchristie/to-markdown/issues/157/events","html_url":"https://github.com/domchristie/to-markdown/issues/157","id":164160137,"number":157,"title":"Ignore unrelated tags","user":{"login":"evandegr","id":640193,"avatar_url":"https://avatars.githubusercontent.com/u/640193?v=3","gravatar_id":"","url":"https://api.github.com/users/evandegr","html_url":"https://github.com/evandegr","followers_url":"https://api.github.com/users/evandegr/followers","following_url":"https://api.github.com/users/evandegr/following{/other_user}","gists_url":"https://api.github.com/users/evandegr/gists{/gist_id}","starred_url":"https://api.github.com/users/evandegr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/evandegr/subscriptions","organizations_url":"https://api.github.com/users/evandegr/orgs","repos_url":"https://api.github.com/users/evandegr/repos","events_url":"https://api.github.com/users/evandegr/events{/privacy}","received_events_url":"https://api.github.com/users/evandegr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-06T19:57:07Z","updated_at":"2016-07-07T06:43:41Z","closed_at":"2016-07-07T06:43:41Z","body":"For example I have the following converters:\r\n\r\n```\r\nconverters : [\r\n    {\r\n      filter: 'b',\r\n      replacement: function(content) {\r\n        return '*' + content + '*';\r\n      }\r\n    },\r\n    {\r\n      filter: 'u',\r\n      replacement: function(content) {\r\n        return '_' + content + '_';\r\n      }\r\n    },\r\n    {\r\n      filter: 'i',\r\n      replacement: function(content) {\r\n        return '~' + content + '~';\r\n      }\r\n    }\r\n  ]\r\n```\r\n\r\nAnd the following string I want to test:\r\n\r\n`'Test string <b>bold<hurfaflurf></b>'`\r\n\r\nThe string returns:\r\n\r\n`'Test string *bold<hurfaflurf></hurfaflurf>*'`\r\n\r\nBut I would expect it to return:\r\n\r\n`'Test string *bold<hurfaflurf>*'`\r\n\r\nWhat's the deal here?"},"comment":{"url":"https://api.github.com/repos/domchristie/to-markdown/issues/comments/230995562","html_url":"https://github.com/domchristie/to-markdown/issues/157#issuecomment-230995562","issue_url":"https://api.github.com/repos/domchristie/to-markdown/issues/157","id":230995562,"user":{"login":"domchristie","id":111734,"avatar_url":"https://avatars.githubusercontent.com/u/111734?v=3","gravatar_id":"","url":"https://api.github.com/users/domchristie","html_url":"https://github.com/domchristie","followers_url":"https://api.github.com/users/domchristie/followers","following_url":"https://api.github.com/users/domchristie/following{/other_user}","gists_url":"https://api.github.com/users/domchristie/gists{/gist_id}","starred_url":"https://api.github.com/users/domchristie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domchristie/subscriptions","organizations_url":"https://api.github.com/users/domchristie/orgs","repos_url":"https://api.github.com/users/domchristie/repos","events_url":"https://api.github.com/users/domchristie/events{/privacy}","received_events_url":"https://api.github.com/users/domchristie/received_events","type":"User","site_admin":false},"created_at":"2016-07-07T06:43:41Z","updated_at":"2016-07-07T06:43:41Z","body":"The library parses the HTML string. So I think because `<hurfaflurf>` is an unrecognised element, the parser will add a closing tag.\r\n\r\nHope that helps."}}
{"actor":{"display_login":"domchristie"}}