JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
vanilla ckeditor-3.5.1
[ckeditor.git] / _source / plugins / entities / plugin.js
index 558d824..3c26765 100644 (file)
@@ -1,16 +1,16 @@
 /*\r
-Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.\r
+Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.\r
 For licensing, see LICENSE.html or http://ckeditor.com/license\r
 */\r
 \r
 (function()\r
 {\r
        // Base HTML entities.\r
-       var htmlbase = 'nbsp,gt,lt,quot';\r
+       var htmlbase = 'nbsp,gt,lt';\r
 \r
        var entities =\r
                // Latin-1 Entities\r
-               'iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,' +\r
+               'quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,' +\r
                'not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,' +\r
                'cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,' +\r
 \r
@@ -74,7 +74,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license
                                return '';\r
                        });\r
 \r
-               if ( !reverse )\r
+               if ( !reverse && entities )\r
                {\r
                        // Transforms the entities string into an array.\r
                        entities = entities.split( ',' );\r