Checking a todo checkbox in issue body rewrites the issue content
Summary
Checking a checkbox in issue body rewrites the issue content. I just lost all my issue content =((
Steps to reproduce
- Create a new issue.
- Put a
* [ ] Hey! I like to DELETE all the content
as an issue body and save the issue. - Open a new tab in your browser (don't close the first one).
- In the new tab open the issue, then click
Edit
button. - Add some cool stuff into the issue body.
- Get back to the first tab and click to the checkbox.
- Refresh the issue page. You will see that everything lost you added in the step 5.
Expected behavior
Only checked checkbox is changed. Everything else must stay as it is.
Actual behavior
Checkbox rewrites all the content.
Output of checks
GitLab Enterprise Edition 8.16.0-ee c13afce