diff --git a/src/Language/Lexer.php b/src/Language/Lexer.php index 623e1c5..121016d 100644 --- a/src/Language/Lexer.php +++ b/src/Language/Lexer.php @@ -492,7 +492,7 @@ class Lexer $line, $col, $prev, - mb_substr($body, $start + 1, $position - $start + 1, 'UTF-8') + mb_substr($body, $start + 1, $position - $start, 'UTF-8') ); } }