From 3d883b199512425ffe3b24556805aa94c5713d9b Mon Sep 17 00:00:00 2001 From: "m.lewandowski" Date: Wed, 4 Dec 2013 17:36:20 +0100 Subject: [PATCH 1/3] Added a fix for issue causing textarea not to convert single quotes, double quote into html entities. --- plugins/entities/plugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/entities/plugin.js b/plugins/entities/plugin.js index 3c92e0c8162..51b4aedf16c 100644 --- a/plugins/entities/plugin.js +++ b/plugins/entities/plugin.js @@ -151,7 +151,7 @@ text: function( text ) { return text.replace( baseEntitiesRegex, getChar ).replace( entitiesRegex, getEntity ); } - }); + }, { applyToAll: true } ); } } }); From 66705ab940eddf455d186e335baee4e98f07ddba Mon Sep 17 00:00:00 2001 From: "m.lewandowski" Date: Wed, 4 Dec 2013 17:37:29 +0100 Subject: [PATCH 2/3] Codestyle fixes. --- plugins/entities/plugin.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/entities/plugin.js b/plugins/entities/plugin.js index 51b4aedf16c..75a27ff1abf 100644 --- a/plugins/entities/plugin.js +++ b/plugins/entities/plugin.js @@ -67,7 +67,7 @@ table[ org ] = result; regex.push( org ); return ''; - }); + } ); if ( !reverse && entities ) { // Transforms the entities string into an array. @@ -147,14 +147,14 @@ return baseEntitiesTable[ character ]; } - htmlFilter.addRules({ + htmlFilter.addRules( { text: function( text ) { return text.replace( baseEntitiesRegex, getChar ).replace( entitiesRegex, getEntity ); } }, { applyToAll: true } ); } } - }); + } ); })(); /** From 4f3a7f02ca9dcc4dbdcfe0bff8683c880332d745 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotrek=20Reinmar=20Koszuli=C5=84ski?= Date: Thu, 5 Dec 2013 10:38:49 +0100 Subject: [PATCH 3/3] Changelog entry. --- CHANGES.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGES.md b/CHANGES.md index 57a833b86c0..440d7bae208 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -33,6 +33,7 @@ Fixed Issues: * [#11011](http://dev.ckeditor.com/ticket/11011): Fixed: Method applyStyle removes attributes from nested elements. * [#11179](http://dev.ckeditor.com/ticket/11179): Fixed: editor.destroy() does not cleanup content generated by [TableResize plugin](http://ckeditor.com/addon/tableresize) for inline editors. * [#11237](http://dev.ckeditor.com/ticket/11237): Fixed: Table border attribute's value is deleted when pasting content from MS Word. +* [#11250](http://dev.ckeditor.com/ticket/11250): Fixed: HTML entities inside `