diff --git a/src/lexer.c b/src/lexer.c index 9346567..667d69c 100644 --- a/src/lexer.c +++ b/src/lexer.c @@ -3736,6 +3736,7 @@ static tmbstr ParseAttribute( TidyDocImpl* doc, Bool *isempty, { /* Not '/>' - put it back */ TY_(UngetChar)(c, doc->docIn); + c = '/'; /* retore original char */ } }