Fixed an issue with <enclosure> not closing.