Saving comments without a change still triggers "Edited" status
Summary
When editing and saving a comment without actually changing its content, the Edited status is still triggered.
Steps to reproduce
- Submit a comment (or find a comment that hasn't been edited yet):
- Edit the comment (without actually changing the content).
- Save the comment.
Example Project
(No example project, since it can be reproduced in any project.)
What is the current bug behavior?
The comment appears to have been edited:

What is the expected correct behavior?
The comment shouldn't appear to have been edited.
Relevant logs and/or screenshots
(No relevant logs, since it can easily be reproduced.)
Output of checks
This bug happens on GitLab.com.
Results of GitLab environment info
(Not relevant, since it can easily be reproduced.)
Results of GitLab application Check
(Not relevant, since it can easily be reproduced.)
Possible fixes
- Check if new comment content differs from old comment content and only set
Editedstatus in that case. - Disable
Save commentbutton if current comment content equals old comment content.


