Trim post element texts.