{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2478","repository_url":"https://api.github.com/repos/swagger-api/swagger-ui","labels_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2478/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2478/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2478/events","html_url":"https://github.com/swagger-api/swagger-ui/issues/2478","id":186714403,"number":2478,"title":"Swagger UI stripping HTML","user":{"login":"paul3291","id":2818069,"avatar_url":"https://avatars.githubusercontent.com/u/2818069?v=3","gravatar_id":"","url":"https://api.github.com/users/paul3291","html_url":"https://github.com/paul3291","followers_url":"https://api.github.com/users/paul3291/followers","following_url":"https://api.github.com/users/paul3291/following{/other_user}","gists_url":"https://api.github.com/users/paul3291/gists{/gist_id}","starred_url":"https://api.github.com/users/paul3291/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paul3291/subscriptions","organizations_url":"https://api.github.com/users/paul3291/orgs","repos_url":"https://api.github.com/users/paul3291/repos","events_url":"https://api.github.com/users/paul3291/events{/privacy}","received_events_url":"https://api.github.com/users/paul3291/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-02T05:16:57Z","updated_at":"2016-11-02T22:33:26Z","closed_at":null,"body":"In the latest Swagger-UI 2.2.6 and it looks that it's also in 2.2.4, that some html tags are being lost/removed after the structure is built from the swagger json. If you load the http://petstore.swagger.io/v2/swagger.json you will notice that the POST pet model has details concatenated together as shown below.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2818069/19917386/efa2f730-a116-11e6-98e3-6d433196e2f8.png)\r\n\r\nIt looks like the original html that is generated is like this\r\n\r\n![image](https://cloud.githubusercontent.com/assets/2818069/19917428/64d1c78e-a117-11e6-8403-116cdbd8dda1.png)\r\n\r\nBut this is what end up in the browser (chrome)\r\n![image](https://cloud.githubusercontent.com/assets/2818069/19917454/aaedbe1c-a117-11e6-9f0f-e1987608b7cd.png)\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/comments/258020041","html_url":"https://github.com/swagger-api/swagger-ui/issues/2478#issuecomment-258020041","issue_url":"https://api.github.com/repos/swagger-api/swagger-ui/issues/2478","id":258020041,"user":{"login":"paul3291","id":2818069,"avatar_url":"https://avatars.githubusercontent.com/u/2818069?v=3","gravatar_id":"","url":"https://api.github.com/users/paul3291","html_url":"https://github.com/paul3291","followers_url":"https://api.github.com/users/paul3291/followers","following_url":"https://api.github.com/users/paul3291/following{/other_user}","gists_url":"https://api.github.com/users/paul3291/gists{/gist_id}","starred_url":"https://api.github.com/users/paul3291/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paul3291/subscriptions","organizations_url":"https://api.github.com/users/paul3291/orgs","repos_url":"https://api.github.com/users/paul3291/repos","events_url":"https://api.github.com/users/paul3291/events{/privacy}","received_events_url":"https://api.github.com/users/paul3291/received_events","type":"User","site_admin":false},"created_at":"2016-11-02T22:33:26Z","updated_at":"2016-11-02T22:33:26Z","body":"Just wondering if the html content is being over sanitized? It appears that the table that is being stripped was previously shown as a hover tool tip to data type, min/max size, etc.."}}
{"actor":{"display_login":"paul3291"}}