Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
579 views
in Q2A Core by
edited by

As I saw q2a uses htmLawed to clean user input.

As some of my users copy and paste from other sites, I get class and id attributes (as well as span tags with different css-styles) posted with the content that I want to remove.

I tried fixing pasted css styles with ckeditor that was working quite well (but not 100% satisfactory).

Now I'd like to know if somebody used htmLawed's features to clean user input. Any experience would be helpful!

 

PS: Maybe the removal of class and id attributes can be implemented in the next release of q2a?

...