add missing spaces to disabled and checked attributes