KRACOEUS-6976 : Fix newlines in mockview