]> gitweb.ps.run Git - ps-gitweb/commitdiff
fix regex main
authorpatrick-scho <patrick.schoenberger@posteo.de>
Sat, 29 Nov 2025 14:13:56 +0000 (15:13 +0100)
committerpatrick-scho <patrick.schoenberger@posteo.de>
Sat, 29 Nov 2025 14:13:56 +0000 (15:13 +0100)
gitweb/gitweb.perl

index ccbd12ae7ae8f40dcfee2a3975421db64836204a..ca18cf48ca38b20033f77a4a26f713db540d58f6 100755 (executable)
@@ -7259,7 +7259,7 @@ sub get_markdown {
                }
            }
        }
                }
            }
        }
-       if ($_ =~ /(<a[^>]href="[^/])(.*?)"/) {
+       if ($_ =~ /(<a[^>]href="[^\/])(.*?)"/) {
            my $origcut = "".$2;
            my $testcut = "".$2;
            my $is_anchor = ($testcut =~ /^#/);
            my $origcut = "".$2;
            my $testcut = "".$2;
            my $is_anchor = ($testcut =~ /^#/);