[PATCH 4/4] ui-diff: preserve spaces w/o CSS on context lines
Eric Wong
e at 80x24.org
Fri Jan 4 11:32:24 CET 2019
Eric Wong <e at 80x24.org> wrote:
> We need to use a non-breaking space entity to preserve
> spacing for browsers without CSS support.
Btw, an alternative patch which could save bandwidth but
possibly break compatibility with existing CSS would be to wrap
the whole diff area in a <pre>, and use <span class='...'>
instead of <div class='...'>
More information about the CGit
mailing list