]> Lady’s Gitweb - Gitweb/commit
gitweb: pull ref markes pull out of subject <a> element
authorGiuseppe Bilotta <redacted>
Sun, 23 Aug 2009 08:28:09 +0000 (10:28 +0200)
committerLady <redacted>
Mon, 6 Apr 2026 04:50:39 +0000 (00:50 -0400)
commitfe0d3057ae0d40d306b9d35deffe8e007c1f40e6476f01c0f88cc936d7c903d7
treed7e42ce47f473293ec899e7443d380e88af46843f4fe8902f137e5b80c9a2aef
parente8fd17a7af55b584435cb517db4524b1171f6b682bbb46886904b0f318c177c7
gitweb: pull ref markes pull out of subject <a> element

Since 4afbaef (gitweb: ref markers link to named shortlogs, 2008-09-02),
ref markers that accompany the subject in views such as shortlog and
history point to something different from the subject itself. Therefore,
they should not be included in the same <a> element.

Benefits of the change are:

 * better compliance to the XHTML standards, that forbid links within
   links even though the restriction cannot be imposed via DTD; this also
   benefits visualization in some older browsers;

 * when hovering the subject, only the subject itself is underlined; when
   hovering the ref markers, only the text in the hovered ref marker is
   underlined; previously, hovering any written part of the subject column
   led to complete underlying of everything at the same time, with
   unpleasing effects.

Signed-off-by: Giuseppe Bilotta <redacted>
Acked-by: Jakub Narebski <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl
This page took 0.177488 seconds and 4 git commands to generate.