@@ -28,8 +28,8 @@ public function __construct(array $placeholder = array('[_TWITAL_[', ']_TWITAL_]
28
28
$ this ->regexes =array (
29
29
'twig_start ' =>'{( ' .preg_quote ($ options ['tag_block ' ][0 ]) .'| ' .preg_quote ($ options ['tag_variable ' ][0 ]) .'| ' .preg_quote ($ options ['tag_comment ' ][0 ]) .')} ' ,
30
30
'placeholder ' =>'{( ' .preg_quote ($ placeholder [0 ]) .'(.+) ' .preg_quote ($ placeholder [1 ]) .')}siuU ' ,
31
- 'twig_inner_ ' .$ options ['tag_block ' ][0 ] =>'{( ' .self ::REGEX_STRING .'| ' . preg_quote ( $ options [ ' tag_block ' ][ 1 ]) . ' | ([^" \']*? ' .preg_quote ($ options ['tag_block ' ][1 ]) .')|[^" \']+?)}si ' ,
32
- 'twig_inner_ ' .$ options ['tag_variable ' ][0 ] =>'{( ' .self ::REGEX_STRING .'| ' . preg_quote ( $ options [ ' tag_variable ' ][ 1 ]) . ' | ([^" \']*? ' .preg_quote ($ options ['tag_variable ' ][1 ]) .')|[^" \']+?)}si ' ,
31
+ 'twig_inner_ ' .$ options ['tag_block ' ][0 ] =>'{( ' .self ::REGEX_STRING .'|([^" \']*? ' .preg_quote ($ options ['tag_block ' ][1 ]) .')|[^" \']+?)}si ' ,
32
+ 'twig_inner_ ' .$ options ['tag_variable ' ][0 ] =>'{( ' .self ::REGEX_STRING .'|([^" \']*? ' .preg_quote ($ options ['tag_variable ' ][1 ]) .')|[^" \']+?)}si ' ,
33
33
'twig_inner_ ' .$ options ['tag_comment ' ][0 ] =>'{((.*? ' .preg_quote ($ options ['tag_comment ' ][1 ]) .'))}si ' ,
34
34
);
35
35
}
@@ -50,7 +50,7 @@ protected function processTwig($template, \CLosure $processor)
50
50
$ twig =$ buffer ;
51
51
break ;
52
52
}
53
- };
53
+ }
54
54
55
55
if (!$ twig ) {
56
56
continue ;