From 662948e300f8d564543d80510c8930593a08744b Mon Sep 17 00:00:00 2001 From: webchick Date: Wed, 8 Jan 2014 00:56:45 -0800 Subject: [PATCH] Issue #2162685 by clemens.tolboom: CKEditor's Internal::generateFormatTagsSetting() should call check_markup() with caching enabled. --- .../lib/Drupal/ckeditor/Plugin/CKEditorPlugin/Internal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }