Closed tdurieux closed 7 years ago
@tdurieux this is a know issue, but is also the best I could do with the partial information available in the diff. If you want to take a look at the code in https://github.com/rtfpessoa/diff2html/blob/master/src/ui/js/diff2html-ui.js#L82 and make any suggestions, fell free to open a PR.
NOTE: If you retrieve a diff with more context can also help but you will have bigger diffs.
Step 0: Describe your environment
Step 1: Describe the problem:
The code of the second chunk is highlighted as a comment because the first chunk ends with a block comment.
diff example:
Relevant Code: