Fixed handling of closing angle brackets in the DOM to XHTML plugin