Skip to content

Commit 139986a

Browse files
committed
Update README.md
1 parent 566c5c7 commit 139986a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ Output
190190

191191
## Scheme
192192

193-
You can add new scheme to convert URL begin with it, foe example: `vnc://example.com`
193+
You can add new scheme to convert URL begin with it, for example: `vnc://example.com`
194194

195195
``` php
196196
$autolink->addScheme('skype')
@@ -208,7 +208,7 @@ $autolink->setLinkBuilder(function($url, $attribs)
208208
{
209209
$attribs['src'] = htmlspecialchars($url);
210210

211-
return (string) \Windwalker\Html\HtmlElement('img', null, $attribs);
211+
return (string) new \Windwalker\Html\HtmlElement('img', null, $attribs);
212212
});
213213
```
214214

0 commit comments

Comments
 (0)