{"action":"opened","issue":{"url":"https://api.github.com/repos/PrismJS/prism/issues/860","labels_url":"https://api.github.com/repos/PrismJS/prism/issues/860/labels{/name}","comments_url":"https://api.github.com/repos/PrismJS/prism/issues/860/comments","events_url":"https://api.github.com/repos/PrismJS/prism/issues/860/events","html_url":"https://github.com/PrismJS/prism/issues/860","id":127503487,"number":860,"title":"doesn't format XML when attributes are on a separate line","user":{"login":"garretwilson","id":627125,"avatar_url":"https://avatars.githubusercontent.com/u/627125?v=3","gravatar_id":"","url":"https://api.github.com/users/garretwilson","html_url":"https://github.com/garretwilson","followers_url":"https://api.github.com/users/garretwilson/followers","following_url":"https://api.github.com/users/garretwilson/following{/other_user}","gists_url":"https://api.github.com/users/garretwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/garretwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garretwilson/subscriptions","organizations_url":"https://api.github.com/users/garretwilson/orgs","repos_url":"https://api.github.com/users/garretwilson/repos","events_url":"https://api.github.com/users/garretwilson/events{/privacy}","received_events_url":"https://api.github.com/users/garretwilson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-19T18:01:11Z","updated_at":"2016-01-19T18:01:11Z","closed_at":null,"body":"If I have the following:\r\n\r\n    <pre><code class=\"language-xml\"><![CDATA[<project xmlns=\"http://maven.apache.org/POM/4.0.0\"\r\n      ...\r\n\r\nThat formats fine. But if I change that to:\r\n\r\n    <pre><code class=\"language-xml\"><![CDATA[<project\r\n      xmlns=\"http://maven.apache.org/POM/4.0.0\"\r\n      ...\r\n\r\nPrism doesn't format the `<project` part of the tag correctly. It only recognizes multi-line tags if the first attribute is on the same line, apparently."}}