{"action":"opened","issue":{"url":"https://api.github.com/repos/robolectric/robolectric/issues/1491","labels_url":"https://api.github.com/repos/robolectric/robolectric/issues/1491/labels{/name}","comments_url":"https://api.github.com/repos/robolectric/robolectric/issues/1491/comments","events_url":"https://api.github.com/repos/robolectric/robolectric/issues/1491/events","html_url":"https://github.com/robolectric/robolectric/issues/1491","id":54772495,"number":1491,"title":"Robolectric should strip line breaks immediately after start tags and immediately before end tags like real android does.","user":{"login":"jongerrish","id":6314616,"avatar_url":"https://avatars.githubusercontent.com/u/6314616?v=3","gravatar_id":"","url":"https://api.github.com/users/jongerrish","html_url":"https://github.com/jongerrish","followers_url":"https://api.github.com/users/jongerrish/followers","following_url":"https://api.github.com/users/jongerrish/following{/other_user}","gists_url":"https://api.github.com/users/jongerrish/gists{/gist_id}","starred_url":"https://api.github.com/users/jongerrish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jongerrish/subscriptions","organizations_url":"https://api.github.com/users/jongerrish/orgs","repos_url":"https://api.github.com/users/jongerrish/repos","events_url":"https://api.github.com/users/jongerrish/events{/privacy}","received_events_url":"https://api.github.com/users/jongerrish/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-19T14:48:41Z","updated_at":"2015-01-19T14:48:41Z","closed_at":null,"body":"In Robolectric the following string resource\r\n\r\n  <string name=\"some_id\">\r\n    Some Text\r\n  </string>\r\n\r\nwhen calling resources.getString(R.string.some_id) includes these line breaks. On real android they are stripped.\r\n\r\norg.junit.ComparisonFailure: expected:<[Some Text]> but was:<[\r\n    Some Text\r\n  ]>"}}