In last commit: Allow spaces in image filenames

This commit is contained in:
Starbeamrainbowlabs 2016-08-21 12:00:40 +01:00
parent 7589605c81
commit 367f4e5ebf
1 changed files with 1 additions and 1 deletions

View File

@ -367,7 +367,7 @@ class PeppermintParsedown extends ParsedownExtra
protected function inlineExtendedImage($fragment)
{
global $pageindex;
///^!\[(.*)\]\(([^ |)]+)\s*(?:\|([^|)]*)(?:\|([^)]*))?)?\)/
if(preg_match('/^!\[(.*)\]\(([^|)]+)\s*(?:\|([^|)]*))?(?:\|([^|)]*))?(?:\|([^)]*))?\)/', $fragment["text"], $matches))
{
/*