1.1 --- a/ckeditor/plugins/crossreference/plugin.js Thu Dec 15 18:17:46 2016 +0300
1.2 +++ b/ckeditor/plugins/crossreference/plugin.js Sat Dec 17 03:14:48 2016 +0300
1.3 @@ -1,7 +1,7 @@
1.4 CKEDITOR.plugins.add('crossreference', {
1.5 lang : [ 'en', 'ru' ],
1.6 requires : 'dialog,notification',
1.7 - icons : 'crossreference',
1.8 + icons : 'crossreference,anchor,link,update',
1.9 hidpi : true,
1.10 init : function(editor) {
1.11
1.12 @@ -428,6 +428,7 @@
1.13 text = text.replace(/\$\{levelShift\}/g, shift);
1.14 }
1.15
1.16 + text = text.replace(/\s+/g, ' ');
1.17 text = text.trim();
1.18
1.19 return text;