In last commit: Allow spaces in image filenames
This commit is contained in:
parent
7589605c81
commit
367f4e5ebf
|
@ -367,7 +367,7 @@ class PeppermintParsedown extends ParsedownExtra
|
|||
protected function inlineExtendedImage($fragment)
|
||||
{
|
||||
global $pageindex;
|
||||
///^!\[(.*)\]\(([^ |)]+)\s*(?:\|([^|)]*)(?:\|([^)]*))?)?\)/
|
||||
|
||||
if(preg_match('/^!\[(.*)\]\(([^|)]+)\s*(?:\|([^|)]*))?(?:\|([^|)]*))?(?:\|([^)]*))?\)/', $fragment["text"], $matches))
|
||||
{
|
||||
/*
|
Loading…
Reference in New Issue