fixed bug: Don't create a DOMElement of type 'Content' from an invalid <content> tag