core/modules/editor/editor.admin.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/modules/editor/editor.admin.inc b/core/modules/editor/editor.admin.inc index 69acabe..2c16f05 100644 --- a/core/modules/editor/editor.admin.inc +++ b/core/modules/editor/editor.admin.inc @@ -5,8 +5,8 @@ * Administration functions for editor.module. */ +use Drupal\Component\Utility\SafeMarkup; use Drupal\editor\Entity\Editor; -use Drupal\Component\Utility\NestedArray; /** * Subform constructor to configure the text editor's image upload settings. @@ -95,8 +95,8 @@ function editor_image_upload_settings_form(Editor $editor) { $form['max_dimensions'] = array( '#type' => 'item', '#title' => t('Maximum dimensions'), - '#field_prefix' => '
', - '#field_suffix' => '
', + '#field_prefix' => SafeMarkup::set('
'), + '#field_suffix' => SafeMarkup::set('
'), '#description' => t('Images larger than these dimensions will be scaled down.'), '#states' => $show_if_image_uploads_enabled, );