{"action":"opened","issue":{"url":"https://api.github.com/repos/lunet-io/markdig/issues/211","repository_url":"https://api.github.com/repos/lunet-io/markdig","labels_url":"https://api.github.com/repos/lunet-io/markdig/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/lunet-io/markdig/issues/211/comments","events_url":"https://api.github.com/repos/lunet-io/markdig/issues/211/events","html_url":"https://github.com/lunet-io/markdig/issues/211","id":298455596,"number":211,"title":"[Question] `TextWriter.NewLine` is hard-coded to '\\n' even when running on Windows","user":{"login":"caioproiete","id":177608,"avatar_url":"https://avatars2.githubusercontent.com/u/177608?v=4","gravatar_id":"","url":"https://api.github.com/users/caioproiete","html_url":"https://github.com/caioproiete","followers_url":"https://api.github.com/users/caioproiete/followers","following_url":"https://api.github.com/users/caioproiete/following{/other_user}","gists_url":"https://api.github.com/users/caioproiete/gists{/gist_id}","starred_url":"https://api.github.com/users/caioproiete/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caioproiete/subscriptions","organizations_url":"https://api.github.com/users/caioproiete/orgs","repos_url":"https://api.github.com/users/caioproiete/repos","events_url":"https://api.github.com/users/caioproiete/events{/privacy}","received_events_url":"https://api.github.com/users/caioproiete/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-20T02:42:36Z","updated_at":"2018-02-20T02:42:36Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\n\r\nQuick question: Is there a reason to [always use `\\n` for line-breaks instead of `Environment.NewLine`](https://github.com/lunet-io/markdig/blob/master/src/Markdig/Renderers/TextRendererBase.cs#L32), or is just preference?\r\n\r\nMarkdown files will typically contain fragments of content that - after being converted to HTML - are likely added as content to an HTML template (which itself has line-breaks), which can cause mixed line-endings if the HTML template uses `\\r\\n`."}}
{"actor":{"display_login":"caioproiete"}}