Commit 662948e3 authored by webchick's avatar webchick

Issue #2162685 by clemens.tolboom: CKEditor's...

Issue #2162685 by clemens.tolboom: CKEditor's Internal::generateFormatTagsSetting() should call check_markup() with caching enabled.
parent 8f76f3c1
......@@ -258,7 +258,7 @@ protected function generateFormatTagsSetting(Editor $editor) {
$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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment