use url::to
This commit is contained in:
parent
3a0135a6d3
commit
21530751a5
|
@ -1445,6 +1445,7 @@ function doAutoLinks($text) {
|
|||
}
|
||||
function _doAutoLinks_url_callback($matches) {
|
||||
$url = $this->encodeAttribute($matches[1]);
|
||||
$url = Laravel\URL::to($url);
|
||||
$link = "<a href=\"$url\">$url</a>";
|
||||
return $this->hashPart($link);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue