From: Junio C Hamano Date: Wed, 08 Nov 2006 18:24:40 GMT Subject: Re: [PATCH 2/2] gitweb: Use character or octal escape codes (and add span.cntrl) in esc_path Message-ID: <7vmz71u787.fsf@assigned-by-dhcp.cox.net> In-Reply-To: <200611081150.07469.jnareb@gmail.com> Jakub Narebski writes: > Instead of simply hiding control characters in esc_path by replacing > them with '?', use Character Escape Codes (CEC) i.e. alphabetic > backslash sequences like those found in C programming language and > many other languages influenced by it, such as Java and Perl. If > control characted doesn't have corresponding character escape code, > use octal char sequence to escape it. > > Additionally use 'span' element with 'cntrl' attribute to mark escaped > control characters. Add style for span.cntrl in the CSS. Would have preferred the 'span' thing to be part of [1/2]... Didn't I ask quot to be freestanding sub, not nested? That would make UPR vs CEC experiments easier and more pleasant.