prevent serialization in setContent
prevent removal of empty elements in DOM parser