{"action":"created","issue":{"url":"https://api.github.com/repos/arkon/ng-inline-svg/issues/25","repository_url":"https://api.github.com/repos/arkon/ng-inline-svg","labels_url":"https://api.github.com/repos/arkon/ng-inline-svg/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/arkon/ng-inline-svg/issues/25/comments","events_url":"https://api.github.com/repos/arkon/ng-inline-svg/issues/25/events","html_url":"https://github.com/arkon/ng-inline-svg/issues/25","id":219144654,"number":25,"title":"replace contents inserts 2x","user":{"login":"seanmcoleman","id":186030,"avatar_url":"https://avatars4.githubusercontent.com/u/186030?v=4","gravatar_id":"","url":"https://api.github.com/users/seanmcoleman","html_url":"https://github.com/seanmcoleman","followers_url":"https://api.github.com/users/seanmcoleman/followers","following_url":"https://api.github.com/users/seanmcoleman/following{/other_user}","gists_url":"https://api.github.com/users/seanmcoleman/gists{/gist_id}","starred_url":"https://api.github.com/users/seanmcoleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seanmcoleman/subscriptions","organizations_url":"https://api.github.com/users/seanmcoleman/orgs","repos_url":"https://api.github.com/users/seanmcoleman/repos","events_url":"https://api.github.com/users/seanmcoleman/events{/privacy}","received_events_url":"https://api.github.com/users/seanmcoleman/received_events","type":"User","site_admin":false},"labels":[{"id":404702831,"url":"https://api.github.com/repos/arkon/ng-inline-svg/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2017-04-04T05:33:56Z","updated_at":"2017-07-14T16:43:45Z","closed_at":null,"body":"When `replaceContents` is `true`, the SVG element is inserted twice. \r\n\r\nIf `replaceContents` is `true` and `prepend` is `false` (or omitted), then the SVG element replaces the content, but then an additional element is inserted. \r\n\r\nThe culprit is here: https://github.com/arkon/ng-inline-svg/blob/master/src/inline-svg.directive.ts#L151"},"comment":{"url":"https://api.github.com/repos/arkon/ng-inline-svg/issues/comments/315407516","html_url":"https://github.com/arkon/ng-inline-svg/issues/25#issuecomment-315407516","issue_url":"https://api.github.com/repos/arkon/ng-inline-svg/issues/25","id":315407516,"user":{"login":"arkon","id":4098258,"avatar_url":"https://avatars4.githubusercontent.com/u/4098258?v=4","gravatar_id":"","url":"https://api.github.com/users/arkon","html_url":"https://github.com/arkon","followers_url":"https://api.github.com/users/arkon/followers","following_url":"https://api.github.com/users/arkon/following{/other_user}","gists_url":"https://api.github.com/users/arkon/gists{/gist_id}","starred_url":"https://api.github.com/users/arkon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arkon/subscriptions","organizations_url":"https://api.github.com/users/arkon/orgs","repos_url":"https://api.github.com/users/arkon/repos","events_url":"https://api.github.com/users/arkon/events{/privacy}","received_events_url":"https://api.github.com/users/arkon/received_events","type":"User","site_admin":false},"created_at":"2017-07-14T16:43:45Z","updated_at":"2017-07-14T16:43:45Z","body":"That said, I don't think the issue of ID conflicts has anything to do with the original issue. :("}}
{"actor":{"display_login":"arkon"}}