save raw preview text before modification

saves the raw preview text to a property "rawPreview" prior to the preview being modified and encoded to HTML.