X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2Fpackagist%2Fpiedsjaloux-ckeditor-component.git;a=blobdiff_plain;f=sources%2Fplugins%2Fhtmlwriter%2Fplugin.js;fp=sources%2Fplugins%2Fhtmlwriter%2Fplugin.js;h=61d6ac64300bd8afffa6eb72135e2976f87a0534;hp=063c966313d01b901bb5292fac63debba9e3c3f2;hb=317f8f8f0651488f226b5280a8f036c7c135c639;hpb=1096cdefb1c9a3f3c4ca6807e272da6c92e5ed9c diff --git a/sources/plugins/htmlwriter/plugin.js b/sources/plugins/htmlwriter/plugin.js index 063c966..61d6ac6 100644 --- a/sources/plugins/htmlwriter/plugin.js +++ b/sources/plugins/htmlwriter/plugin.js @@ -1,5 +1,5 @@ /** - * @license Copyright (c) 2003-2016, CKSource - Frederico Knabben. All rights reserved. + * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.md or http://ckeditor.com/license */ @@ -69,7 +69,7 @@ CKEDITOR.htmlWriter = CKEDITOR.tools.createClass( { this._.indent = 0; this._.indentation = ''; - // Indicate preformatted block context status. (#5789) + // Indicate preformatted block context status. (http://dev.ckeditor.com/ticket/5789) this._.inPre = 0; this._.rules = {}; @@ -180,7 +180,7 @@ CKEDITOR.htmlWriter = CKEDITOR.tools.createClass( { if ( typeof attValue == 'string' ) { this.forceSimpleAmpersand && ( attValue = attValue.replace( /&/g, '&' ) ); - // Browsers don't always escape special character in attribute values. (#4683, #4719). + // Browsers don't always escape special character in attribute values. (http://dev.ckeditor.com/ticket/4683, http://dev.ckeditor.com/ticket/4719). attValue = CKEDITOR.tools.htmlEncodeAttr( attValue ); } @@ -289,6 +289,7 @@ CKEDITOR.htmlWriter = CKEDITOR.tools.createClass( { this._.indentation = ''; this._.afterCloser = 0; this._.inPre = 0; + this._.needsSpace = 0; }, /**