Shorten generated text to 255 characters to avoid MySQL column overflow.