I included a richtext field in my Advanced PDF/HTML template, and now whenever it tries to render the PDF, it crashes if any user has put any of the following into the Rich Text field (but it has no problem with it in the NetSuite UI):
• Unclosed tags
• Tags with hyphenated attribute names like
i data-my-attribute="hello world"spanFarewell, cruel world
/span/i
• Ampersand '&' not encoded to &
• Maybe tags not supported by Rich Text (Someone had a
meta tag which when removed, stopped throwing the "Ignored" error)
I'm trying to make it so people can paste in what they want, into the Rich Text field, but not have it crash the PDF renderer when they print a Picking Ticket.
What's your recommendation? I'm considering changing it to a plain Text Area and telling people "Sorry, no text formatting is possible on that field now.".