use url::to
This commit is contained in:
@@ -1445,6 +1445,7 @@ class Markdown_Parser {
|
|||||||
}
|
}
|
||||||
function _doAutoLinks_url_callback($matches) {
|
function _doAutoLinks_url_callback($matches) {
|
||||||
$url = $this->encodeAttribute($matches[1]);
|
$url = $this->encodeAttribute($matches[1]);
|
||||||
|
$url = Laravel\URL::to($url);
|
||||||
$link = "<a href=\"$url\">$url</a>";
|
$link = "<a href=\"$url\">$url</a>";
|
||||||
return $this->hashPart($link);
|
return $this->hashPart($link);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user