summaryrefslogtreecommitdiff
path: root/http.h
diff options
context:
space:
mode:
authorLibravatar Jakub Narebski <jnareb@gmail.com>2012-02-27 02:55:22 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-02-26 22:02:58 -0800
commite607b79fb14f2196f7ea46d2115f21c548972e78 (patch)
tree5091a242695ef871b7cf832e785f3848e90b25ac /http.h
parentgitweb: Highlight matched part of project description when searching projects (diff)
downloadtgif-e607b79fb14f2196f7ea46d2115f21c548972e78.tar.xz
gitweb: Highlight matched part of shortened project description
Previous commit make gitweb use esc_html_match_hl() to mark match in the _whole_ description of a project when searching projects. This commit makes gitweb highlight match in _shortened_ description, based on match in whole description, using esc_html_match_hl_chopped() subroutine. If match is in removed (chopped) part, even partially, then trailing "... " is highlighted. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'http.h')
0 files changed, 0 insertions, 0 deletions