Merge Request suggestions contain a real new line if `\n` is present in the code
Summary
In Merge Requests when trying to add a suggestion, the literal \n is converted into a real new line in the text box.
Steps to reproduce
- Create a Merge Request containing a change including a
\n. - On this line create a suggestion.
- The rendered text box shows a real new line instead of
\n.
Example Project
tobiashuste/new-line-suggestion!2 (diffs)
What is the current bug behavior?
A real new line is shown in Merge Request suggestions instead of \n.
What is the expected correct behavior?
Show \n.
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com/
