mirror of
https://github.com/getgrav/grav.git
synced 2026-05-07 18:46:58 +02:00
fix for markdown links with fragments and query elements
This commit is contained in:
@@ -33,7 +33,7 @@ trait MarkdownGravLinkTrait
|
||||
if (!isset($url['host']) && isset($url['path'])) {
|
||||
|
||||
// convert the URl is required
|
||||
$Excerpt['element']['attributes']['href'] = $this->convertUrl($url['path']);
|
||||
$Excerpt['element']['attributes']['href'] = $this->convertUrl(Uri::build_url($url));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user