treesummaryrefslogcommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorpatrick-scho2025-11-29 15:13:56 +0100
committerpatrick-scho2025-11-29 15:13:56 +0100
commit3a81b5ac2fc1dfda68584a7ab138a7fbbb183707 (patch)
treec951b34c45ae27e3e576119ddfbc8247bfdfa35d /gitweb/gitweb.perl
parente894074b9768ff98e14874a71cc285f27c8b6504 (diff)
downloadps-gitweb-3a81b5ac2fc1dfda68584a7ab138a7fbbb183707.tar.gz
ps-gitweb-3a81b5ac2fc1dfda68584a7ab138a7fbbb183707.zip
fix regexHEADmain
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index ccbd12a..ca18cf4 100755
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
@@ -7259,7 +7259,7 @@ sub get_markdown {
}
}
}
- if ($_ =~ /(<a[^>]href="[^/])(.*?)"/) {
+ if ($_ =~ /(<a[^>]href="[^\/])(.*?)"/) {
my $origcut = "".$2;
my $testcut = "".$2;
my $is_anchor = ($testcut =~ /^#/);