Fixed markdown parsing for telephone links (#2235)

Telephone links use the `+` character to specify a country code, but Grav was replacing the `+` with a space character.
This commit is contained in:
Scott Hamper
2018-11-03 16:57:02 -04:00
committed by Andy Miller
parent 829638c143
commit e7d660149e

View File

@@ -117,7 +117,7 @@ class Excerpts
*/
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);