{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4099","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4099/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4099/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4099/events","html_url":"https://github.com/swagger-api/swagger-codegen/pull/4099","id":186074545,"number":4099,"title":"Newline escaping disabled for HTML and HTML2 generators","user":{"login":"bazhenov","id":36286,"avatar_url":"https://avatars.githubusercontent.com/u/36286?v=3","gravatar_id":"","url":"https://api.github.com/users/bazhenov","html_url":"https://github.com/bazhenov","followers_url":"https://api.github.com/users/bazhenov/followers","following_url":"https://api.github.com/users/bazhenov/following{/other_user}","gists_url":"https://api.github.com/users/bazhenov/gists{/gist_id}","starred_url":"https://api.github.com/users/bazhenov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bazhenov/subscriptions","organizations_url":"https://api.github.com/users/bazhenov/orgs","repos_url":"https://api.github.com/users/bazhenov/repos","events_url":"https://api.github.com/users/bazhenov/events{/privacy}","received_events_url":"https://api.github.com/users/bazhenov/received_events","type":"User","site_admin":false},"labels":[{"id":160492265,"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Client:%20HTML","name":"Client: HTML","color":"fad8c7","default":false},{"id":410531038,"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/General:%20Suggestion","name":"General: Suggestion","color":"66ccff","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13","html_url":"https://github.com/swagger-api/swagger-codegen/milestone/13","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/13/labels","id":1928763,"number":13,"title":"v2.2.2","description":"","creator":{"login":"wing328","id":934260,"avatar_url":"https://avatars.githubusercontent.com/u/934260?v=3","gravatar_id":"","url":"https://api.github.com/users/wing328","html_url":"https://github.com/wing328","followers_url":"https://api.github.com/users/wing328/followers","following_url":"https://api.github.com/users/wing328/following{/other_user}","gists_url":"https://api.github.com/users/wing328/gists{/gist_id}","starred_url":"https://api.github.com/users/wing328/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wing328/subscriptions","organizations_url":"https://api.github.com/users/wing328/orgs","repos_url":"https://api.github.com/users/wing328/repos","events_url":"https://api.github.com/users/wing328/events{/privacy}","received_events_url":"https://api.github.com/users/wing328/received_events","type":"User","site_admin":false},"open_issues":312,"closed_issues":548,"state":"open","created_at":"2016-08-08T09:16:56Z","updated_at":"2016-12-15T16:29:46Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-10-29T11:50:15Z","updated_at":"2016-12-15T23:32:54Z","closed_at":"2016-11-01T08:21:30Z","pull_request":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/pulls/4099","html_url":"https://github.com/swagger-api/swagger-codegen/pull/4099","diff_url":"https://github.com/swagger-api/swagger-codegen/pull/4099.diff","patch_url":"https://github.com/swagger-api/swagger-codegen/pull/4099.patch"},"body":"### PR checklist\n- [x] Read the [contribution guildelines](https://github.com/swagger-api/swagger-codegen/blob/master/CONTRIBUTING.md).\n- [x] Ran the shell/batch script under `./bin/` to update Petstore sample so that CIs can verify the change. (For instance, only need to run `./bin/{LANG}-petstore.sh` and `./bin/security/{LANG}-petstore.sh` if updating the {LANG} (e.g. php, ruby, python, etc) code generator or {LANG} client's mustache templates)\n- [x] Filed the PR against the correct branch: master for non-breaking changes and `2.3.0` branch for breaking (non-backward compatible) changes.\n### Description of the PR\n\nNewline escaping disabled for HTML and HTML2 generators. Escaping failing Markdown processors to work correctly on descriptions.\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/267475864","html_url":"https://github.com/swagger-api/swagger-codegen/pull/4099#issuecomment-267475864","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/4099","id":267475864,"user":{"login":"GlenDC","id":3900482,"avatar_url":"https://avatars.githubusercontent.com/u/3900482?v=3","gravatar_id":"","url":"https://api.github.com/users/GlenDC","html_url":"https://github.com/GlenDC","followers_url":"https://api.github.com/users/GlenDC/followers","following_url":"https://api.github.com/users/GlenDC/following{/other_user}","gists_url":"https://api.github.com/users/GlenDC/gists{/gist_id}","starred_url":"https://api.github.com/users/GlenDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlenDC/subscriptions","organizations_url":"https://api.github.com/users/GlenDC/orgs","repos_url":"https://api.github.com/users/GlenDC/repos","events_url":"https://api.github.com/users/GlenDC/events{/privacy}","received_events_url":"https://api.github.com/users/GlenDC/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T23:32:54Z","updated_at":"2016-12-15T23:32:54Z","body":"Does this issue fixes the bug where newline characters (`\\n`) in a string value (e.g. `info.description`) get ignored, instead of forcing an HTML linefeed?\r\n\r\ne.g. I would expect `foo\\nbar` to be translated to:\r\n```html\r\nfoo<br>bar\r\n```\r\nor however that should be done in the generated (static) HTML. But for now it just seems to render `foo\\nbar` \r\n\r\nOr should I open a new issue for this and, later, open a PR with a fix for it?"}}
{"actor":{"display_login":"GlenDC"}}