Skip to content

Commit 4b81a98

Browse files
committed
minor #1794 [Site] adjust external link config (kbond)
This PR was merged into the 2.x branch. Discussion ---------- [Site] adjust external link config | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | n/a | License | MIT Don't mark any `*symfony.com` link as _external_. Commits ------- 6a8995a [Site] adjust external link config
2 parents e5654f3 + 6a8995a commit 4b81a98

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ux.symfony.com/src/Service/CommonMark/ConverterFactory.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ public function __invoke(): CommonMarkConverter
3838
'generator' => 'https://github.com/symfony/ux/issues/%d',
3939
],
4040
],
41+
'external_link' => [
42+
'internal_hosts' => ['/(^|\.)symfony\.com$/'],
43+
],
4144
]);
4245

4346
$converter->getEnvironment()

0 commit comments

Comments
 (0)