diff --git a/core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/CKEditorPlugin/Internal.php b/core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/CKEditorPlugin/Internal.php index c5332e1c84e..0054d5e8a8b 100644 --- a/core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/CKEditorPlugin/Internal.php +++ b/core/modules/ckeditor/lib/Drupal/ckeditor/Plugin/CKEditorPlugin/Internal.php @@ -258,7 +258,7 @@ class Internal extends CKEditorPluginBase { $possible_format_tags = array('h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'pre'); foreach ($possible_format_tags as $tag) { $input = '<' . $tag . '>TEST'; - $output = trim(check_markup($input, $editor->format)); + $output = trim(check_markup($input, $editor->format, '', TRUE)); if ($input == $output) { $format_tags[] = $tag; }