Merge remote-tracking branch 'origin/master' into development

* origin/master:
  fix for error with mailto links
This commit is contained in:
Stéphane Goetz 2017-01-23 23:27:06 +01:00
bovenliggende f6237b7ddb 1a2d5c336b
commit 77541b6b09

Bestand weergeven

@ -65,7 +65,7 @@ class LinkRenderer extends \League\CommonMark\Inline\Renderer\LinkRenderer
protected function isExternalUrl($url)
{
return preg_match('|^(?:[a-z]+:)?//|', $url);
return preg_match('|^(?:[a-z]+:)?//|', $url) || substr($url, 0, 7) == "mailto:";
}
/**