diff --git a/plugins/pastefromword/filter/default.js b/plugins/pastefromword/filter/default.js index 2f667145bb4..05572c596c0 100644 --- a/plugins/pastefromword/filter/default.js +++ b/plugins/pastefromword/filter/default.js @@ -1085,7 +1085,7 @@ symbol = element.attributes[ 'cke-symbol' ]; element.forEach( function( node ) { - // Since symbol may contains special characters we use simple indexOf instead of RegExp which is sufficient (#877). + // Since symbol may contains special characters we use `indexOf` (instead of RegExp) which is sufficient (#877). if ( !removed && node.value.indexOf( symbol ) > -1 ) { node.value = node.value.replace( symbol, '' ); diff --git a/tests/plugins/pastefromword/manual/unorderedlistspecialchar.md b/tests/plugins/pastefromword/manual/unorderedlistspecialchar.md index 8f15f11b673..91dc916ee8d 100644 --- a/tests/plugins/pastefromword/manual/unorderedlistspecialchar.md +++ b/tests/plugins/pastefromword/manual/unorderedlistspecialchar.md @@ -5,12 +5,12 @@ ---- 1. Open browser console. 1. Open [Unordered_list_special_char_bullet.docx](../generated/_fixtures/Unordered_list_special_char_bullet/Unordered_list_special_char_bullet.docx) in Word. -1. Select whole content in Word and copy it to clipboard. +1. Select and copy whole content from Word. 1. Focus CKEditor. -1. Paste word content to editor. +1. Paste copied Word content into the editor. ### Expected List is pasted to the editor. ### Unexpected -Error appears in console and list is not pasted to the editor. +Error appears in browser console and list is not pasted to the editor.