CON-1993 | fixing prevoius commit which broke image captions