aboutsummaryrefslogtreecommitdiff
path: root/test-date.c
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2008-02-17 18:48:13 +0100
committerJunio C Hamano <gitster@pobox.com>2008-02-17 19:31:11 -0800
commitc84c483ffdfc45d8143fd6f6620361aba91d1080 (patch)
tree2d88c3f2093f772ac4fdc448f69aa4c56a98abc7 /test-date.c
parent850b90a51d5ed122cee5c2f3ad4c3e513a05259a (diff)
downloadgit-c84c483ffdfc45d8143fd6f6620361aba91d1080.tar.gz
git-c84c483ffdfc45d8143fd6f6620361aba91d1080.tar.xz
gitweb: Add new option -nohtml to quot_xxx subroutines
Add support for new option -nohtml to quot_cec and quot_upr subroutines, to have output not wrapped in HTML tags. This makes those subroutines suitable to quoting attributes values, and for plain text output quoting. Currently this API is not used yet. While at it fix whitespace, and use ';' as delimiter, not separator. The option to not wrap quot_cec output in HTML tag were proposed originally in patch: "Don't open a XML tag while another one is already open" Message-ID: <20080216191628.GK30676@schiele.dyndns.org> by Robert Schiele. Originally the parameter was named '-notag', was also supportted by esc_html (but not esc_path) which passed it down to quot_cec. Mentioned patch was meant to fix the bug Martin Koegler reported in his mail "Invalid html output repo.or.cz (alt-git.git)" Message-ID: <20080216130037.GA14571@auto.tuwien.ac.at> which was fixed in different way (do not use esc_html to escape and quote HTML attributes). Signed-off-by: Robert Schiele <rschiele@gmail.com> Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'test-date.c')
0 files changed, 0 insertions, 0 deletions