fix for markdown links with fragments and query elements

This commit is contained in:
Andy Miller
2014-11-06 12:43:19 -07:00
parent 2f1e0c6be2
commit fdd94633a8

View File

@@ -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));
}
}