Ticket #6645: 6645.patch

File 6645.patch, 888 bytes (added by Alfonso Martínez de Lizarrondo, 11 years ago)

Proposed patch

  • _source/plugins/entities/plugin.js

     
    66(function()
    77{
    88        // Base HTML entities.
    9         var htmlbase = 'nbsp,gt,lt,quot';
     9        var htmlbase = 'nbsp,gt,lt';
    1010
    1111        var entities =
    1212                // Latin-1 Entities
    13                 'iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,' +
     13                'quot,iexcl,cent,pound,curren,yen,brvbar,sect,uml,copy,ordf,laquo,' +
    1414                'not,shy,reg,macr,deg,plusmn,sup2,sup3,acute,micro,para,middot,' +
    1515                'cedil,sup1,ordm,raquo,frac14,frac12,frac34,iquest,times,divide,' +
    1616
     
    7474                                return '';
    7575                        });
    7676
    77                 if ( !reverse )
     77                if ( !reverse && entities )
    7878                {
    7979                        // Transforms the entities string into an array.
    8080                        entities = entities.split( ',' );
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy