Merge pull request #497 from seaburg/fix_value_trimming
Fix leading white spaces trimming
This commit is contained in:
commit
e44f4d1469
|
@ -4098,7 +4098,7 @@ static tmbstr ParseValue( TidyDocImpl* doc, ctmbstr name,
|
|||
while (TY_(IsWhite)(lexer->lexbuf[start+len-1]) && (len > 0))
|
||||
--len;
|
||||
|
||||
while (TY_(IsWhite)(lexer->lexbuf[start]) && (start < len) && (len > 0))
|
||||
while (TY_(IsWhite)(lexer->lexbuf[start]) && (len > 0))
|
||||
{
|
||||
++start;
|
||||
--len;
|
||||
|
|
Loading…
Reference in a new issue