author | Jakub Narebski <jnareb@gmail.com> | |
Wed, 1 Nov 2006 13:33:21 +0000 (14:33 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 3 Nov 2006 07:13:37 +0000 (23:13 -0800) | ||
commit | 6255ef08ae746bdad34851297a989ad6f36f6a21 | |
tree | 45fca15b8d83de612f7c4a1f9ad19d11623bd13c | tree | snapshot |
parent | 241cc599b342663877a8f468513c77518c94d96f | commit | diff |
gitweb: Better support for non-CSS aware web browsers
Add option to replace SPC (' ') with hard (non-breakable) space HTML
entity ' ' in esc_html subroutine.
Replace ' ' with ' ' 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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Add option to replace SPC (' ') with hard (non-breakable) space HTML
entity ' ' in esc_html subroutine.
Replace ' ' with ' ' 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 <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
gitweb/gitweb.perl | diff | blob | history |