{"action":"closed","issue":{"url":"https://api.github.com/repos/go-gitea/gitea/issues/1442","repository_url":"https://api.github.com/repos/go-gitea/gitea","labels_url":"https://api.github.com/repos/go-gitea/gitea/issues/1442/labels{/name}","comments_url":"https://api.github.com/repos/go-gitea/gitea/issues/1442/comments","events_url":"https://api.github.com/repos/go-gitea/gitea/issues/1442/events","html_url":"https://github.com/go-gitea/gitea/issues/1442","id":219216925,"number":1442,"title":"Markdown XML code-blocks with URLs rendered incorrectly","user":{"login":"mjwwit","id":4455124,"avatar_url":"https://avatars0.githubusercontent.com/u/4455124?v=3","gravatar_id":"","url":"https://api.github.com/users/mjwwit","html_url":"https://github.com/mjwwit","followers_url":"https://api.github.com/users/mjwwit/followers","following_url":"https://api.github.com/users/mjwwit/following{/other_user}","gists_url":"https://api.github.com/users/mjwwit/gists{/gist_id}","starred_url":"https://api.github.com/users/mjwwit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjwwit/subscriptions","organizations_url":"https://api.github.com/users/mjwwit/orgs","repos_url":"https://api.github.com/users/mjwwit/repos","events_url":"https://api.github.com/users/mjwwit/events{/privacy}","received_events_url":"https://api.github.com/users/mjwwit/received_events","type":"User","site_admin":false},"labels":[{"id":472744938,"url":"https://api.github.com/repos/go-gitea/gitea/labels/kind/bug","name":"kind/bug","color":"ee0701","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/go-gitea/gitea/milestones/3","html_url":"https://github.com/go-gitea/gitea/milestone/3","labels_url":"https://api.github.com/repos/go-gitea/gitea/milestones/3/labels","id":2111551,"number":3,"title":"1.2.0","description":"","creator":{"login":"tboerger","id":156964,"avatar_url":"https://avatars0.githubusercontent.com/u/156964?v=3","gravatar_id":"","url":"https://api.github.com/users/tboerger","html_url":"https://github.com/tboerger","followers_url":"https://api.github.com/users/tboerger/followers","following_url":"https://api.github.com/users/tboerger/following{/other_user}","gists_url":"https://api.github.com/users/tboerger/gists{/gist_id}","starred_url":"https://api.github.com/users/tboerger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tboerger/subscriptions","organizations_url":"https://api.github.com/users/tboerger/orgs","repos_url":"https://api.github.com/users/tboerger/repos","events_url":"https://api.github.com/users/tboerger/events{/privacy}","received_events_url":"https://api.github.com/users/tboerger/received_events","type":"User","site_admin":false},"open_issues":129,"closed_issues":143,"state":"open","created_at":"2016-11-03T08:40:15Z","updated_at":"2017-04-13T11:08:46Z","due_on":"2017-04-24T07:00:00Z","closed_at":null},"comments":2,"created_at":"2017-04-04T11:15:20Z","updated_at":"2017-04-13T11:08:46Z","closed_at":"2017-04-13T11:08:46Z","body":"- Gitea version (or commit ref): 1.1.0\r\n- Git version: n/a\r\n- Operating system: Mac OS X (Chrome 57, Safari 10, Firefox 49)\r\n- Database (use `[x]`):\r\n  - [x] PostgreSQL\r\n  - [ ] MySQL\r\n  - [ ] MSSQL\r\n  - [x] SQLite\r\n- Can you reproduce the bug at https://try.gitea.io:\r\n  - [x] [Yes](https://try.gitea.io/mjwwit/markdown-render-test)\r\n  - [ ] No\r\n  - [ ] Not relevant\r\n- Log gist: n/a\r\n\r\n## Description\r\nThe rendering of markdown XML code-blocks is incorrect if the code-block contains a URL. I'm guessing the JS code responsible for parsing URLs conflicts with highlight.js.\r\n\r\n## Screenshots\r\n![screen shot 2017-04-04 at 13 11 44](https://cloud.githubusercontent.com/assets/4455124/24653999/56d89f88-1938-11e7-8d81-c81c7fb83787.png)"}}
{"actor":{"display_login":"mjwwit"}}