Re-added trimming of the problem text.