Issue #369 - Remove Debug asserts

This commit is contained in:
Geoff McLane 2016-03-31 14:50:03 +02:00
parent 086e4c948c
commit 7777a71913

View file

@ -1564,8 +1564,13 @@ void TY_(ParseNamespace)(TidyDocImpl* doc, Node *basenode, GetTokenMode mode)
n->closed = yes;
TY_(ReportError)(doc, n->parent, n, MISSING_ENDTAG_BEFORE);
}
/* Issue #369 - Since 'assert' is DEBUG only, and there are
simple cases where these can be fired, removing them
pending feedback from the original author!
assert(outside == no ? n == mp : 1);
assert(outside == yes ? n == basenode->parent : 1);
=================================================== */
if (outside == no)
{