I'm thinking it would be useful if TAG(...).flatten() had a flag it
could set, something like _assert=False, that would cause it *not* to
assert when it finds a malformed tag. In this mode, it would skip over
the malformed tag until seeing the next tag close "/>". It would
inject an error message in the text where it cut out the malformed
tag. What do you think?

Reply via email to