Skip to content

Conversation

@live627
Copy link

@live627 live627 commented May 10, 2024

Fix #179

Resubmit #180

@live627
Copy link
Author

live627 commented May 10, 2024

what caused this


There was 1 error:

1) Liquid\Tag\TagIncludeTest::testIncludeTemplateFile
Liquid\Exception\NotFoundException: File not found: /home/runner/work/php-liquid/php-liquid/tests/Liquid/templates/./mypartial

@sanmai sanmai self-requested a review May 10, 2024 11:59
} elseif ($simpleSyntax->match($markup)) {
$this->variables = $this->variablesFromString($markup);
$simpleSyntax = preg_match_all('/(["\'])?(?(1)(?:(?!\1).)*+\1|[^\s,:|\'"]++)/', $markup, $matches);
$namedSyntax = preg_match('/^(["\'])?(?(1)(?:(?!\1).)*+\1|[^\s,:|\'"]++)\s*\:/', $markup, $namedMatches);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm somewhat concerned about dropping Liquid::get('QUOTED_FRAGMENT') here 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

regex for the cycle tag gives wrong results

2 participants