MDL-21694 simplified tinymce string handling