Fix an issue with the string formatter and being split over newlines