diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 0f8b6e2f2f..045ba0c5aa 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -4470,6 +4470,16 @@ sub git_print_log { next; } + if ($line =~ m,\s*([a-z]*link): (https?://\S+),i) { + if (! $opts{'-remove_signoff'}) { + print "" . esc_html($1) . ": " . + "" . esc_html($2) . "" . + "
\n"; + $skip_blank_line = 1; + } + next; + } + # print only one empty line # do not print empty line after signoff if ($line eq "") {