Fix EZP-23195: An empty line at the beginning/end of a Text block will be lost