summaryrefslogtreecommitdiff
path: root/patch-id.c
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2006-11-01 14:33:21 +0100
committerLibravatar Junio C Hamano <junkio@cox.net>2006-11-02 23:13:37 -0800
commit6255ef08ae746bdad34851297a989ad6f36f6a21 (patch)
tree45fca15b8d83de612f7c4a1f9ad19d11623bd13c /patch-id.c
parentgitweb: Output also empty patches in "commitdiff" view (diff)
downloadtgif-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 'patch-id.c')
0 files changed, 0 insertions, 0 deletions