Skip to content
This repository has been archived by the owner on Apr 4, 2020. It is now read-only.

Commit

Permalink
readme: remove empty pattern (#8)
Browse files Browse the repository at this point in the history
* readme: remove empty pattern

empty pattern is not valid, so use the default

* Update README.md
  • Loading branch information
glensc authored and colinodell committed Mar 19, 2019
1 parent 585875f commit 030700d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ use League\CommonMark\Environment;
use League\CommonMark\Ext\Autolink\InlineMentionParser;

$environment = Environment::createCommonMarkEnvironment();
$environment->addInlineParser(new InlineMentionParser('https://www.example.com/users/%s/profile', ''));
$environment->addInlineParser(new InlineMentionParser('https://www.example.com/users/%s/profile'));

// TODO: Instantiate your converter and convert some Markdown
```
Expand Down

0 comments on commit 030700d

Please sign in to comment.