Issue #395, #564 - Oops, restore orig char if not closing

This commit is contained in:
Geoff McLane 2017-05-29 14:26:55 +02:00
parent 34d37002c9
commit 4136d85a9c

View file

@ -3736,6 +3736,7 @@ static tmbstr ParseAttribute( TidyDocImpl* doc, Bool *isempty,
{
/* Not '/>' - put it back */
TY_(UngetChar)(c, doc->docIn);
c = '/'; /* retore original char */
}
}