From fa1debb7d69fc585d94c4c5b96ae064b927dba80 Mon Sep 17 00:00:00 2001 From: Ramon de la Fuente Date: Sat, 7 Sep 2024 13:30:52 +0200 Subject: [PATCH] Fixed config typo in autolinks.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The current docs result in an error: ``` [League\Config\Exception\ValidationException] Unexpected item 'autolink › default_protocols', did you mean 'default_protocol'? ``` --- docs/2.5/extensions/autolinks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/2.5/extensions/autolinks.md b/docs/2.5/extensions/autolinks.md index 22848050b2..708afb47f3 100644 --- a/docs/2.5/extensions/autolinks.md +++ b/docs/2.5/extensions/autolinks.md @@ -35,7 +35,7 @@ use League\CommonMark\MarkdownConverter; $config = [ 'autolink' => [ 'allowed_protocols' => ['https'], // defaults to ['https', 'http', 'ftp'] - 'default_protocols' => 'https', // defaults to 'http' + 'default_protocol' => 'https', // defaults to 'http' ], ];