Lines with leading `+` and `-` confuse diff colorization
Summary
Lines with leading +
and -
confuse diff colorization
Steps to reproduce
Create an MR introducing lines with leading -
, or removing lines with leading +
Example Project
https://gitlab.com/pherlihy/patchtest/merge_requests/1/diffs
What is the current bug behavior?
Removed lines with a leading +
are colorized green, and Added lines with a leading -
are colorized red
What is the expected correct behavior?
Removed lines with a leading +
colorized red, and Added lines with a leading -
colorized green
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
This bug happens on GitLab.com
ZD https://gitlab.zendesk.com/agent/tickets/118398 (internal)