We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9451351 commit 20d5d02Copy full SHA for 20d5d02
1 file changed
system/View/Parser.php
@@ -711,7 +711,7 @@ protected function parsePlugins(string $template)
711
$isPair = is_array($callable);
712
$callable = $isPair ? array_shift($callable) : $callable;
713
714
- $pattern = $isPair ? '#{\+\s*' . $plugin . '([\w\d=-_:\+\s()\"@.]*)?\s*\+}(.+?){\+\s*/' . $plugin . '\s*\+}#ims' : '#{\+\s*' . $plugin . '([\w\d=-_:\+\s()\"@.]*)?\s*\+}#ims';
+ $pattern = $isPair ? '#{\+\s*' . $plugin . '([\w\d=-_:\+\s()/\"@.]*)?\s*\+}(.+?){\+\s*/' . $plugin . '\s*\+}#ims' : '#{\+\s*' . $plugin . '([\w\d=-_:\+\s()/\"@.]*)?\s*\+}#ims';
715
716
/**
717
* Match tag pairs
0 commit comments