X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fentities%2Fplugin.js;h=3c267650eab817af4e61299c9f6a8cf9458d17ca;hp=558d8244ccd18167384d5f2df9a87870fdbd2d14;hb=48b1db88210b4160dce439c6e3e32e14af8c106b;hpb=9afde8772159bd3436f1f5b7862960307710ae5a diff --git a/_source/plugins/entities/plugin.js b/_source/plugins/entities/plugin.js index 558d824..3c26765 100644 --- a/_source/plugins/entities/plugin.js +++ b/_source/plugins/entities/plugin.js @@ -1,16 +1,16 @@ /* -Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved. +Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { // Base HTML entities. - var htmlbase = 'nbsp,gt,lt,quot'; + var htmlbase = 'nbsp,gt,lt'; var entities = // Latin-1 Entities - 'iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,' + + 'quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,' + 'not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,' + 'cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,' + @@ -74,7 +74,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license return ''; }); - if ( !reverse ) + if ( !reverse && entities ) { // Transforms the entities string into an array. entities = entities.split( ',' );