{"action":"opened","issue":{"url":"https://api.github.com/repos/ether/etherpad-lite/issues/2514","labels_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2514/labels{/name}","comments_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2514/comments","events_url":"https://api.github.com/repos/ether/etherpad-lite/issues/2514/events","html_url":"https://github.com/ether/etherpad-lite/issues/2514","id":57266873,"number":2514,"title":"Deleting the first item of a numbered list causes all items to be number one","user":{"login":"Thynix","id":199917,"avatar_url":"https://avatars.githubusercontent.com/u/199917?v=3","gravatar_id":"","url":"https://api.github.com/users/Thynix","html_url":"https://github.com/Thynix","followers_url":"https://api.github.com/users/Thynix/followers","following_url":"https://api.github.com/users/Thynix/following{/other_user}","gists_url":"https://api.github.com/users/Thynix/gists{/gist_id}","starred_url":"https://api.github.com/users/Thynix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thynix/subscriptions","organizations_url":"https://api.github.com/users/Thynix/orgs","repos_url":"https://api.github.com/users/Thynix/repos","events_url":"https://api.github.com/users/Thynix/events{/privacy}","received_events_url":"https://api.github.com/users/Thynix/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-11T01:56:30Z","updated_at":"2015-02-11T01:56:30Z","closed_at":null,"body":"If I select (by triple-clicking; dragging to select does not trigger it unless the selection is due to undo) and delete (with the delete key or cut, not backspace) the first item in a numbered list, all the items become number one. I would expect the number of all the remaining items to decrease by one instead.\r\n\r\nIf I paste the item back, undo, remove text from an item, or add another item, then it becomes numbered correctly again. If I remove an empty item to form two lists, the list above the removal remains all number one, and the list below is numbered correctly.\r\n\r\nJohnMcLear mentioned in IRC that deleting the first item isn't triggering a numbering redraw. I'm using [Etherpad-lite](https://aur.archlinux.org/packages/etherpad-lite/) 1.5.1, but as of this writing it is also reproducible on beta.etherpad.org. This is on Arch Linux with Firefox 35."}}