Skip to content

Commit be2d1bd

Browse files
committed
edit regexp in parser
1 parent f64bbcd commit be2d1bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/View/Parser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ protected function parsePlugins(string $template)
762762
{
763763
$params = [];
764764

765-
preg_match_all('/([\w-]+=\"[^"]+\")|([\w-]+=[^\"\s=]+)|(\S+)/', trim($match[1]), $matchesParams);
765+
preg_match_all('/([\w-]+=\"[^"]+\")|([\w-]+=[^\"\s=]+)|(\"[^"]+\")|(\S+)/', trim($match[1]), $matchesParams);
766766
foreach ($matchesParams[0] as $item) {
767767
$keyVal = explode('=', $item);
768768
if (count($keyVal) == 2) {

0 commit comments

Comments
 (0)