fix miscellaneous markup validation errors