Suggestion to change two blank lines to one doesn't work
<!--IssueSummary start--> <details> <summary> Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards. </summary> - [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=551495) </details> <!--IssueSummary end--> A MR adds two consecutive blank lines. If I select them and press the button to add a suggestion, I get (as expected) a suggestion block like: ```` ```suggestion:-1+0 ``` ```` Since consecutive blank lines are silly, I want to suggest reducing this to one blank line: ```` ```suggestion:-1+0 ``` ```` However, GitLab incorrectly renders (and perhaps *applies*) this as: ```diff - - ``` ...that is, showing to remove both blank lines and replace them with nothing, when the suggestion still contains a blank line. A correct rendering would be: ```diff - ``` See e.g. https://gitlab.kitware.com/cmake/cmake/-/merge_requests/10883#note_1673338. Note, I'm not sure if this works correctly if the suggestion has more context (i.e. starts and ends with non-blank lines).
issue