Fix "Invalid XML Character" bug.