Skip to content

Commit bb1d62d

Browse files
committed
Fix leading white spaces trimming
1 parent 0bd6ba3 commit bb1d62d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lexer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4096,7 +4096,7 @@ static tmbstr ParseValue( TidyDocImpl* doc, ctmbstr name,
40964096
while (TY_(IsWhite)(lexer->lexbuf[start+len-1]) && (len > 0))
40974097
--len;
40984098

4099-
while (TY_(IsWhite)(lexer->lexbuf[start]) && (start < len) && (len > 0))
4099+
while (TY_(IsWhite)(lexer->lexbuf[start]) && (len > 0))
41004100
{
41014101
++start;
41024102
--len;

0 commit comments

Comments
 (0)