-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Pull Request - View / Diff
-
None
-
Severity 3 - Minor
Issue Summary
This is reproducible on Data Center: n/a
Steps to Reproduce
- Go to code diff on any pull request
- Highlight multiple lines of code and copy to clipboard (Mac: Cmd+C)
- Paste clipboard content (code block in comment, IDE, ...etc)
Expected Results
Code block is pasted in the same format it was copied in.
Example:
const test = (x) => { console.log(x); return `x equals: ${x}`; }
Actual Results
There is an extra line in between every line of code.
Example:
const test = (x) => {
console.log(x);
return `x equals: ${x}`;
}
Workaround
Currently there is no known workaround for this behavior. User has to manually edit the code block to remove the extra lines.