diff --git a/system/src/Grav/Common/Helpers/Excerpts.php b/system/src/Grav/Common/Helpers/Excerpts.php index 697e619059..53faaf4df7 100644 --- a/system/src/Grav/Common/Helpers/Excerpts.php +++ b/system/src/Grav/Common/Helpers/Excerpts.php @@ -117,7 +117,7 @@ public static function getHtmlFromExcerpt($excerpt) */ public static function processLinkExcerpt($excerpt, Page $page, $type = 'link') { - $url = htmlspecialchars_decode(urldecode($excerpt['element']['attributes']['href'])); + $url = htmlspecialchars_decode(rawurldecode($excerpt['element']['attributes']['href'])); $url_parts = static::parseUrl($url);