Skip to content

Commit 277f1df

Browse files
committed
Sync links.php
1 parent aec9328 commit 277f1df

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/links/links.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -646,6 +646,7 @@ public static function getDefaultPatterns(): array
646646
],
647647
'md' => [
648648
'\[(?P<text>[^[]*)\]\((?P<url>[^ )]+)\)',
649+
'!\[[^[]*\]\((?P<url>[^ )]+) "(?P<text>[^"]+)"\)',
649650
self::getXmlTagPattern('img', 'src'),
650651
self::getXmlTagPattern('a', 'href', true),//TODO: shouldn't be there
651652
'txt',
@@ -1096,7 +1097,7 @@ public function testResources(int $verbosity = self::VERBOSITY_DEFAULT): bool
10961097
}
10971098
$this->output('');
10981099
}
1099-
1100+
var_dump(array_keys($this->urls));
11001101
return $valid;
11011102
}
11021103

0 commit comments

Comments
 (0)