X-Git-Url: https://gitweb.ps.run/ps-gitweb/blobdiff_plain/554ee2efd7d9669b64c548e696a2dc92342464c3..e894074b9768ff98e14874a71cc285f27c8b6504:/gitweb/gitweb.perl diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 07e5359..ccbd12a 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -7259,7 +7259,7 @@ sub get_markdown { } } } - if ($_ =~ /(]href=")(.*?)"/) { + if ($_ =~ /(]href="[^/])(.*?)"/) { my $origcut = "".$2; my $testcut = "".$2; my $is_anchor = ($testcut =~ /^#/);