From bbb5cf1e4dfaf55dce3651104210c0741870deb1 Mon Sep 17 00:00:00 2001 From: jane-olszewska Date: Mon, 6 Feb 2017 18:09:57 +0000 Subject: [PATCH] Fixed comment token extraction: will no longer read one character from the next line --- src/Language/Lexer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') ); } }