From: Mark Story Date: Sat, 2 Apr 2011 14:05:55 +0000 (-0400) Subject: Fixing some whitespace. X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=86b11197c05f906d081f4db4a303e7ee8ddc1c4f;p=konrad%2Ftwig.git Fixing some whitespace. --- diff --git a/lib/Twig/Lexer.php b/lib/Twig/Lexer.php index 2fe81e5..ba7e457 100644 --- a/lib/Twig/Lexer.php +++ b/lib/Twig/Lexer.php @@ -191,7 +191,7 @@ class Twig_Lexer implements Twig_LexerInterface $trimTag = preg_quote($this->options['whitespace_trim'] . $this->options['tag_block'][1], '/'); $endTag = preg_quote($this->options['tag_block'][1], '/'); - if (empty($this->brackets) && preg_match('/\s*'. $trimTag . '\h*|\s*' . $endTag . '/A', $this->code, $match, null, $this->cursor)) { + if (empty($this->brackets) && preg_match('/\s*' . $trimTag . '\h*|\s*' . $endTag . '/A', $this->code, $match, null, $this->cursor)) { $this->pushToken(Twig_Token::BLOCK_END_TYPE); $this->moveCursor($match[0]); $this->state = self::STATE_DATA;