{"action":"created","issue":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4843","labels_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4843/labels{/name}","comments_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4843/comments","events_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4843/events","html_url":"https://github.com/HabitRPG/habitrpg/issues/4843","id":60776041,"number":4843,"title":"Checklist won't be numbered correctly","user":{"login":"sparkhee93","id":6036105,"avatar_url":"https://avatars.githubusercontent.com/u/6036105?v=3","gravatar_id":"","url":"https://api.github.com/users/sparkhee93","html_url":"https://github.com/sparkhee93","followers_url":"https://api.github.com/users/sparkhee93/followers","following_url":"https://api.github.com/users/sparkhee93/following{/other_user}","gists_url":"https://api.github.com/users/sparkhee93/gists{/gist_id}","starred_url":"https://api.github.com/users/sparkhee93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sparkhee93/subscriptions","organizations_url":"https://api.github.com/users/sparkhee93/orgs","repos_url":"https://api.github.com/users/sparkhee93/repos","events_url":"https://api.github.com/users/sparkhee93/events{/privacy}","received_events_url":"https://api.github.com/users/sparkhee93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-12T06:10:29Z","updated_at":"2015-03-12T06:26:42Z","closed_at":null,"body":"My User ID:  36c80ade-4469-4e2e-af98-cc86e2403d03\r\nBrowser/Operating system: Chrome Version 40.0.2214.115 m  / Windows 8.1\r\n\r\nWhen I try to create a checklist and number it like the format below:\r\n![before](https://cloud.githubusercontent.com/assets/6036105/6612981/dd05ac78-c853-11e4-818e-abfed7997c42.PNG)\r\n\r\nAnd once I save it, I get this:\r\n![after](https://cloud.githubusercontent.com/assets/6036105/6612982/dd0d3ccc-c853-11e4-825d-b2ee26e1defa.PNG)\r\n\r\nThe issue seems to be happening for all categories.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/9467924-checklist-won-t-be-numbered-correctly?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F68393&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/comments/78430114","html_url":"https://github.com/HabitRPG/habitrpg/issues/4843#issuecomment-78430114","issue_url":"https://api.github.com/repos/HabitRPG/habitrpg/issues/4843","id":78430114,"user":{"login":"Alys","id":1495809,"avatar_url":"https://avatars.githubusercontent.com/u/1495809?v=3","gravatar_id":"","url":"https://api.github.com/users/Alys","html_url":"https://github.com/Alys","followers_url":"https://api.github.com/users/Alys/followers","following_url":"https://api.github.com/users/Alys/following{/other_user}","gists_url":"https://api.github.com/users/Alys/gists{/gist_id}","starred_url":"https://api.github.com/users/Alys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Alys/subscriptions","organizations_url":"https://api.github.com/users/Alys/orgs","repos_url":"https://api.github.com/users/Alys/repos","events_url":"https://api.github.com/users/Alys/events{/privacy}","received_events_url":"https://api.github.com/users/Alys/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T06:26:42Z","updated_at":"2015-03-12T06:26:42Z","body":"@sparkhee93 Tasks and checklist items use markdown, in which a leading digit followed by a period has a special meaning - it always means that markdown should create a numbered list with the correct numbers automatically inserted by markdown itself. This has benefits when you are using markdown in a text document (you don't need to worry about counting the list items yourself and can move the items around without renumbering them manually). However when markdown is used in a checklist, each checklist item is considered to be an individual \"document\" and so markdown starts renumbering from scratch within each \"document\", with the result being what you see in your screenshot.\r\n\r\nYou can insert numbers yourself and have them not converted by markdown by escaping them with a preceding \\ - for example: `\\2. second item`.\r\n\r\nThere's more information about markdown on the wiki: http://habitrpg.wikia.com/wiki/Markdown_Cheat_Sheet"}}