{"action":"created","issue":{"url":"https://api.github.com/repos/snoyberg/xml/issues/139","repository_url":"https://api.github.com/repos/snoyberg/xml","labels_url":"https://api.github.com/repos/snoyberg/xml/issues/139/labels{/name}","comments_url":"https://api.github.com/repos/snoyberg/xml/issues/139/comments","events_url":"https://api.github.com/repos/snoyberg/xml/issues/139/events","html_url":"https://github.com/snoyberg/xml/issues/139","id":371291402,"node_id":"MDU6SXNzdWUzNzEyOTE0MDI=","number":139,"title":"html-conduit removes '<' symbols from strings in '<script>' tags","user":{"login":"emhoracek","id":5353499,"node_id":"MDQ6VXNlcjUzNTM0OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/5353499?v=4","gravatar_id":"","url":"https://api.github.com/users/emhoracek","html_url":"https://github.com/emhoracek","followers_url":"https://api.github.com/users/emhoracek/followers","following_url":"https://api.github.com/users/emhoracek/following{/other_user}","gists_url":"https://api.github.com/users/emhoracek/gists{/gist_id}","starred_url":"https://api.github.com/users/emhoracek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emhoracek/subscriptions","organizations_url":"https://api.github.com/users/emhoracek/orgs","repos_url":"https://api.github.com/users/emhoracek/repos","events_url":"https://api.github.com/users/emhoracek/events{/privacy}","received_events_url":"https://api.github.com/users/emhoracek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-17T22:28:19Z","updated_at":"2018-10-18T12:45:40Z","closed_at":null,"author_association":"NONE","body":"Ran into problems with the custom javascript components in my app after upgrading our template library to the latest version.\r\n\r\nI tried this test:\r\n\r\n```\r\n  it \"should not remove '<' symbols in script strings\" $\r\n    let (X.Document _ (X.Element _ _ nodes) _) =\r\n      H.parseLT (\"<script>console.log(\\\"<custom-component />\\\")</script>\") in\r\n    nodes `shouldBe` [X.NodeContent \"console.log(\\\"<custom-component />\\\")\"]\r\n```\r\n\r\nIt fails with:\r\n\r\n```\r\n1) HTML parsing should not remove '<' symbols in script strings\r\n    expected: [NodeContent \"console.log(\\\"<custom-component />\\\")\"]\r\n    but got: [NodeContent \"console.log(\\\"custom-component />\\\")\"]\r\n```"},"comment":{"url":"https://api.github.com/repos/snoyberg/xml/issues/comments/430994491","html_url":"https://github.com/snoyberg/xml/issues/139#issuecomment-430994491","issue_url":"https://api.github.com/repos/snoyberg/xml/issues/139","id":430994491,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDk5NDQ5MQ==","user":{"login":"emhoracek","id":5353499,"node_id":"MDQ6VXNlcjUzNTM0OTk=","avatar_url":"https://avatars0.githubusercontent.com/u/5353499?v=4","gravatar_id":"","url":"https://api.github.com/users/emhoracek","html_url":"https://github.com/emhoracek","followers_url":"https://api.github.com/users/emhoracek/followers","following_url":"https://api.github.com/users/emhoracek/following{/other_user}","gists_url":"https://api.github.com/users/emhoracek/gists{/gist_id}","starred_url":"https://api.github.com/users/emhoracek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emhoracek/subscriptions","organizations_url":"https://api.github.com/users/emhoracek/orgs","repos_url":"https://api.github.com/users/emhoracek/repos","events_url":"https://api.github.com/users/emhoracek/events{/privacy}","received_events_url":"https://api.github.com/users/emhoracek/received_events","type":"User","site_admin":false},"created_at":"2018-10-18T12:45:40Z","updated_at":"2018-10-18T12:45:40Z","author_association":"NONE","body":"@snoyberg Earlier versions did not have this problem -- upgrading our Stackage resolver from lts-8.15 to lts-12.11 is what caused it."}}
{"actor":{"display_login":"emhoracek"}}