Is there an HTML purifier like this one writen in JavaScript?
Or alternatively, does anyone have a library for cleaning up content pasted from MS Word, or other rich text editors, into a contenteditable <div>?
Is there an HTML purifier like this one writen in JavaScript?
Or alternatively, does anyone have a library for cleaning up content pasted from MS Word, or other rich text editors, into a contenteditable <div>?
This question has been answered here https://stackoverflow.com/a/430240/20794