Issue #2162685 by clemens.tolboom: CKEditor's Internal::generateFormatTagsSetting() should call check_markup() with caching enabled.

8.0.x
webchick 2014-01-08 00:56:45 -08:00
parent 8f76f3c18a
commit 662948e300
1 changed files with 1 additions and 1 deletions

View File

@ -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</' . $tag . '>';
$output = trim(check_markup($input, $editor->format));
$output = trim(check_markup($input, $editor->format, '', TRUE));
if ($input == $output) {
$format_tags[] = $tag;
}