HTML diff viewer: possible escaping issue related to start-of-line minus symbols
During investigation of a reproducibility issue for some SQL scripts, I was viewing the HTML output of diffoscope for two side-by-side builds of a single source file with the format:
-- comment with a timestamp: <timestamp>
In many SQL syntaxes, two minus symbols at the start of a line is interpreted as the start of a line comment.
The timestamp was different across the two files, and so this was correctly detected by diffoscope as a difference.
However: in the left-hand-pane of the HTML viewer, the content of the modified line does not currently appear:
In the plaintext comparison output of diffoscope, the change is more clearly represented:
│ │ │ │ --- comment with a timestamp: ...
│ │ │ │ +-- comment with a timestamp: ...
