remove space, new line in abstract preview