]> gitweb.ps.run Git - ps-gitweb/blobdiff - gitweb/gitweb.perl
fix regex
[ps-gitweb] / 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 =~ /^#/);