Addition and deletion markdown not being applied if content contains link, reference, addition, or deletion
The addition and deletion markdown is not being applied if the content contains a link, reference, addition, or deletion. This happens in titles, descriptions, and comments.
Steps to reproduce
- Add an issue/merge request/user reference or link to an issue title and check the system note for the title change
- OR add an issue reference inside
+}to a comment or issue description
- Issue title: https://gitlab.com/pedroms/public-project/issues/3
- Comment: https://gitlab.com/pedroms/public-project/issues/3#note_72529551
What is the current bug behavior?
The addition and deletion tags are not wrapped correctly around the intended elements. For example:
What is the expected correct behavior?
We should instead see this:
Output of checks
This bug happens on GitLab.com