Browse Source

Rewording. [skip ci]

Krzysztof Krztoń 7 years ago
parent
commit
b4de72ff56
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ckeditor5-paste-from-office/src/filters/utils.js

+ 1 - 1
packages/ckeditor5-paste-from-office/src/filters/utils.js

@@ -110,7 +110,7 @@ function normalizeEndTagsPrecedingSpace( htmlString ) {
 function normalizeSpacerunSpans( htmlDocument ) {
 	htmlDocument.querySelectorAll( 'span[style*=spacerun]' ).forEach( el => {
 		// Use `el.childNodes[ 0 ].data.length` instead of `el.innerText.length`. For `el.innerText.length` which
-		// contains spaces mixed with ` `, Edge browser returns incorrect length.
+		// contains spaces mixed with ` ` Edge browser returns incorrect length.
 		const innerTextLength = el.childNodes[ 0 ].data.length;
 
 		el.innerHTML = Array( innerTextLength + 1 ).join( '\u00A0 ' ).substr( 0, innerTextLength );