Generate text blocks from a mixture of wrappable and protected lines