aboutsummaryrefslogtreecommitdiff
path: root/sha1_file.c
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2006-11-01 14:33:21 +0100
committerJunio C Hamano <junkio@cox.net>2006-11-02 23:13:37 -0800
commit6255ef08ae746bdad34851297a989ad6f36f6a21 (patch)
tree45fca15b8d83de612f7c4a1f9ad19d11623bd13c /sha1_file.c
parent241cc599b342663877a8f468513c77518c94d96f (diff)
downloadgit-6255ef08ae746bdad34851297a989ad6f36f6a21.tar.gz
git-6255ef08ae746bdad34851297a989ad6f36f6a21.tar.xz
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 <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'sha1_file.c')
0 files changed, 0 insertions, 0 deletions