Files
gerrit/polygerrit-ui/app/elements/diff/gr-diff
Luís Oliveira 3066dbf478 Avoid spurious newlines in diffs with CRLF line endings
Commit d5d9a13ec8 fixed Issue 5091 by
adding a newline to the end of each diff line. In files with CRLF line
endings, this causes spurious newlines as described in Issue 7164.

This tweaks the aforementioned fix to specifically target empty lines
thereby still ensuring that (empty) diff lines don't collapse to 0px
height while avoiding inserting spurious newlines elsewhere.

Bug: Issue 7164
Change-Id: Iafbbf004cfb588fc123988674bbce8dfabf4d2b8
(cherry picked from commit 40eb3f47cc)
2018-01-25 01:26:54 +00:00
..
2017-09-27 18:55:42 -04:00
2017-05-17 11:44:39 -07:00
2017-09-27 18:55:42 -04:00