{"action":"opened","issue":{"url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/1495","labels_url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/1495/labels{/name}","comments_url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/1495/comments","events_url":"https://api.github.com/repos/ControlSystemStudio/cs-studio/issues/1495/events","html_url":"https://github.com/ControlSystemStudio/cs-studio/issues/1495","id":120338384,"number":1495,"title":".opi files have mixed line endings","user":{"login":"tboegi","id":7138363,"avatar_url":"https://avatars.githubusercontent.com/u/7138363?v=3","gravatar_id":"","url":"https://api.github.com/users/tboegi","html_url":"https://github.com/tboegi","followers_url":"https://api.github.com/users/tboegi/followers","following_url":"https://api.github.com/users/tboegi/following{/other_user}","gists_url":"https://api.github.com/users/tboegi/gists{/gist_id}","starred_url":"https://api.github.com/users/tboegi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboegi/subscriptions","organizations_url":"https://api.github.com/users/tboegi/orgs","repos_url":"https://api.github.com/users/tboegi/repos","events_url":"https://api.github.com/users/tboegi/events{/privacy}","received_events_url":"https://api.github.com/users/tboegi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-04T05:55:44Z","updated_at":"2015-12-04T05:55:44Z","closed_at":null,"body":"It seams as if CSS stores opi files with \"mixed line endings\":\r\nThe first line is terminated with a line feed (LF or \"\\n\"):\r\n<?xml version=\"1.0\" encoding=\"UTF-8\"?>\r\n\r\nThe next lines are terminated with carriage return line feed (CRLF, \"\\r\\n\"):\r\n<display typeId=\"org.csstudio.opibuilder.Display\" version=\"1.0.0\">^M\r\n\r\nAnd the last line has LF.\r\n\r\nIs there a reason to have CRLF in some lines ?\r\n\r\n"}}