Changeset 7412
- Timestamp:
- 03/23/12 14:07:16 (14 months ago)
- Location:
- CKEditor/trunk
- Files:
-
- 2 edited
-
CHANGES.html (modified) (1 diff)
-
_source/plugins/entities/plugin.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CKEditor/trunk/CHANGES.html
r7411 r7412 78 78 <li><a href="http://dev.ckeditor.com/ticket/8247">#8247</a> : [IE] Fix error when indent with page breaks inside of contents.</li> 79 79 <li><a href="http://dev.ckeditor.com/ticket/8540">#8540</a> : Fix malformed HTML list/table with text directly inside of it.</li> 80 <li><a href="http://dev.ckeditor.com/ticket/8774">#8774</a> : Fix entities plugin to allow it to be configured to only output XML entities.</li> 80 81 </ul> 81 82 <h3> -
CKEditor/trunk/_source/plugins/entities/plugin.js
r7156 r7412 115 115 { 116 116 // Mandatory HTML base entities. 117 var selectedEntities = '';117 var selectedEntities = []; 118 118 119 119 if ( config.basicEntities !== false ) 120 selectedEntities += htmlbase;120 selectedEntities.push( htmlbase ); 121 121 122 122 if ( config.entities ) 123 123 { 124 selectedEntities += ',' + entities; 124 if ( selectedEntities.length ) 125 selectedEntities.push( entities ) 126 125 127 if ( config.entities_latin ) 126 selectedEntities += ',' + latin;128 selectedEntities.push( latin ); 127 129 128 130 if ( config.entities_greek ) 129 selectedEntities += ',' + greek;131 selectedEntities.push( greek ); 130 132 131 133 if ( config.entities_additional ) 132 selectedEntities += ',' + config.entities_additional;134 selectedEntities.push( config.entities_additional ); 133 135 } 134 136 135 var entitiesTable = buildTable( selectedEntities );137 var entitiesTable = buildTable( selectedEntities.join( ',' ) ); 136 138 137 139 // Create the Regex used to find entities in the text, leave it matches nothing if entities are empty.
Note: See TracChangeset
for help on using the changeset viewer.
