From b6937343b2cfc1cb73ad91ec007c5bb1d2a426ca Mon Sep 17 00:00:00 2001 From: webchick Date: Sat, 27 Sep 2014 00:07:28 -0700 Subject: [PATCH] Issue #2345037 by Wim Leers, bserem: Fixed Configure CKEditor to not create HTML entities. --- core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php | 1 + core/modules/ckeditor/src/Tests/CKEditorTest.php | 1 + 2 files changed, 2 insertions(+) diff --git a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php index 02049b6225b..aa31023b84b 100644 --- a/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php +++ b/core/modules/ckeditor/src/Plugin/CKEditorPlugin/Internal.php @@ -99,6 +99,7 @@ class Internal extends CKEditorPluginBase implements ContainerFactoryPluginInter 'pasteFromWordPromptCleanup' => TRUE, 'resize_dir' => 'vertical', 'justifyClasses' => array('text-align-left', 'text-align-center', 'text-align-right', 'text-align-justify'), + 'entities' => FALSE, ); // Add the allowedContent setting, which ensures CKEditor only allows tags diff --git a/core/modules/ckeditor/src/Tests/CKEditorTest.php b/core/modules/ckeditor/src/Tests/CKEditorTest.php index 7041583be9e..b2c70aa0a71 100644 --- a/core/modules/ckeditor/src/Tests/CKEditorTest.php +++ b/core/modules/ckeditor/src/Tests/CKEditorTest.php @@ -378,6 +378,7 @@ class CKEditorTest extends DrupalUnitTestBase { 'pasteFromWordPromptCleanup' => TRUE, 'resize_dir' => 'vertical', 'justifyClasses' => array('text-align-left', 'text-align-center', 'text-align-right', 'text-align-justify'), + 'entities' => FALSE, ); }