mirror of
https://github.com/kovetskiy/mark.git
synced 2026-05-01 21:02:33 +00:00
allow templates and macros to include blanks in path (#191)
This commit is contained in:
@@ -21,7 +21,7 @@ var reMacroDirective = regexp.MustCompile(
|
||||
|
||||
`(?s)` + // dot capture newlines
|
||||
/**/ `<!--\s*Macro:\s*(?P<expr>[^\n]+)\n` +
|
||||
/* */ `\s*Template:\s*(?P<template>\S+)\s*` +
|
||||
/* */ `\s*Template:\s*(?P<template>.+?)\s*` +
|
||||
/* */ `(?P<config>\n.*?)?-->`,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user