euphorie/Euphorie — Issue #25: HTML cleanup in TinyMCE in CMS
Author: jcbrand
Created: 2011-11-21 15:39:54+00:00
State: open

OSHA is complaining that some word pasted text still causes problems.

From the horses mouth:

> It would of course be nice if we could keep links, bold, italics, paragraphs. But that's it. ALL the rest should get cleaned when the paste is done.

If there is anything else being kept, can we filter it out?

Furthermore, they ask whether weird chars like the following can be filtered out: (I've escaped the & and #)

> The right training will allow the workers to prevent risks associated with the profession.\&\#13;Health and safety training will take place when:\&\#13;- workers are hired\&\#13;- functions are adapted or changed - there are changes in the equipment\&\#13;- new technologies are introduced\&\#13;