fix The `span` element containing a `style` tag causes markup corruption

fix https://github.com/refinery/refinerycms/issues/1915
The `span` element containing a `style` tag causes markup corruptions

source from https://github.com/wymeditor/wymeditor/issues/211