Does Drupal strip out style and span tags?
Go to Configuration -> Content Authoring -> Text formats. Here you can configure what tags are allowed.

All unallowed tags are stripped out,  is always stripped out.

Check out https://www.drupal.org/project/wysiwyg_filter for more advanced filtering.