Skip to content

Commit afe9c6d

Browse files
live627sanmai
andauthored
Update src/Liquid/AbstractBlock.php
Co-authored-by: Alexey Kopytko <[email protected]>
1 parent 782a9ab commit afe9c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Liquid/AbstractBlock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function parse(array &$tokens)
5353
{
5454
$startRegexp = new Regexp('/^' . Liquid::$config['TAG_START'] . '/');
5555
$tagRegexp = new Regexp('/^' . Liquid::$config['TAG_START'] . Liquid::$config['WHITESPACE_CONTROL'] . '?\s*(\w+)\s*(.*?)' . Liquid::$config['WHITESPACE_CONTROL'] . '?' . Liquid::$config['TAG_END'] . '$/s');
56-
$variableStartRegexp = new Regexp('/^' . Liquid::$config['VARIABLE_START'] . '/');
56+
$variableStartRegexp = new Regexp('/^' . $this->config['VARIABLE_START'] . '/');
5757

5858
$this->nodelist = array();
5959

0 commit comments

Comments
 (0)