Incorrect markup makes for dodgy errors