Preserving of text properties