pyrocms/pyrocms — Issue #1096: Clean up WYSIWYG input
Author: RyanThompson
Created: 2012-01-25 01:27:11+00:00
State: open

I noticed that while handling WYSIWYG data, there is a ton of encoding crap in it. Looks like a lot is from paste-from-word if not all of it.

I think the current ckeditor cleans this automatically, otherwise, I suggest cleaning it as standard in PyroCMS. Basically make it clean HTML with no special encoding allowed.

I would do this, but Im lost when it comes to encoding..

This especially sucks when trying to use the data for XML. Cause XML sucks...