validation: remove extraneous markup character