]> Lady’s Gitweb - Gitweb/commit
gitweb: Better support for non-CSS aware web browsers
authorJakub Narebski <redacted>
Wed, 1 Nov 2006 13:33:21 +0000 (14:33 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:07:11 +0000 (00:07 -0400)
commit560aaf0f61c7270bb88a0e5d19f71df25618dc0b5b7fba3702b43af4c50445fb
tree7b05990baeae9e08cf96dae7688cfe674d4978f89179226986978ae5c606394b
parentec7084ffc2952629119d0d625cb1e79b033ec9ef09594e730a9f1ab0d6990856
gitweb: Better support for non-CSS aware web browsers

Add option to replace SPC (' ') with hard (non-breakable) space HTML
entity '&nbsp;' in esc_html subroutine.

Replace ' ' with '&nbsp;' for the code/diff display part in git_blob
and git_patchset_body; this is to be able to view code and diffs in
web browsers which doesn't understand "white-space: pre;" CSS
declaration.

Signed-off-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.272859 seconds and 4 git commands to generate.