Skip to content

Commit

Permalink
Fixed config typo in autolinks.md
Browse files Browse the repository at this point in the history
The current docs result in an error:
```
[League\Config\Exception\ValidationException] Unexpected item 'autolink › default_protocols', did you mean 'default_protocol'? 
```
  • Loading branch information
ramondelafuente authored Sep 7, 2024
1 parent f4e33fc commit fa1debb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/2.5/extensions/autolinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
],
];

Expand Down

0 comments on commit fa1debb

Please sign in to comment.