Issue #497 - lexer.c - Add comment for this PR @seaburg

This commit is contained in:
Geoff McLane 2017-02-24 14:38:20 +01:00
parent e44f4d1469
commit c4b5904e1c

View file

@ -4098,6 +4098,7 @@ static tmbstr ParseValue( TidyDocImpl* doc, ctmbstr name,
while (TY_(IsWhite)(lexer->lexbuf[start+len-1]) && (len > 0)) while (TY_(IsWhite)(lexer->lexbuf[start+len-1]) && (len > 0))
--len; --len;
/* Issue #497 - Fix leading space trimming */
while (TY_(IsWhite)(lexer->lexbuf[start]) && (len > 0)) while (TY_(IsWhite)(lexer->lexbuf[start]) && (len > 0))
{ {
++start; ++start;