Dom Purify to remove all non-breaking space
I am using dompurify for a RichText
component I have. I was hoping to add in a rule that would remove all &nbps;
in the string. Here is some example code:
I am using dompurify for a RichText
component I have. I was hoping to add in a rule that would remove all &nbps;
in the string. Here is some example code: