The Rich text field type is commonly used to format the details which we enter. When populating that value, we retrieve all the details along with the styles. Before retrieving, we need to verify whether the style formatting is supported by the NetSuite. If the style has unnecessary tags, we need to clean the details. Because some of the styles are not supported by the PDF template.
By using online cleaners, we can clean the rich text field styles. For example, HTML Cleaner – Online Beautifyer and Word Converter (html-cleaner.com). We have to copy the rich text data as html code, then clean the data then paste into the field. We have to make sure that details are correct.