Remove doctype and update feedline characters