зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bug 286334. Use <wbr> instead of a space to allow long paths to break. r=myk@mozilla.org
This commit is contained in:
Родитель
c94f3276f3
Коммит
344bdf4915
|
@ -427,8 +427,8 @@ sub print_ci {
|
|||
if (defined $::query_module && $::query_module eq 'allrepositories') {
|
||||
$d = "$ci->[$::CI_REPOSITORY]/$d";
|
||||
}
|
||||
$d =~ s:/:/ :g; # Insert a whitespace after any slash, so that
|
||||
# we'll break long names at a reasonable place.
|
||||
$d =~ s:/:/<wbr>:g; # Insert a <wbr> tag after each slash, so that
|
||||
# we'll break long paths at a reasonable place.
|
||||
print "$d\n";
|
||||
|
||||
if( $rev ne '' ){
|
||||
|
|
Загрузка…
Ссылка в новой задаче