Skip to content

Commit

Permalink
Add manual test
Browse files Browse the repository at this point in the history
  • Loading branch information
KarolDawidziuk authored and sculpt0r committed Aug 17, 2022
1 parent d7e7f6e commit 80b4507
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/plugins/entities/manual/encodeentities.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div id="editor">
<p>👍</p>
</div>

<script>
if ( CKEDITOR.env.ie ) {
bender.ignore();
}

CKEDITOR.replace( 'editor', {
entities_processNumerical: true,
lang: 'en'
} );
</script>
16 changes: 16 additions & 0 deletions tests/plugins/entities/manual/encodeentities.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
@bender-tags: bug, 4.20.0, 4941
@bender-ui: collapsed
@bender-ckeditor-plugins: wysiwygarea, toolbar, entities, sourcearea

1. Open source mode.

**Expected** There is only one HTML entity `&#128077;`.

**Unexpected** Two HTML entities appears: `&#55357;&#56397;`.

2. Close source area.

**Expected** 👍 entity is preserved.

**Unexpected** A surrogate pair appears ��.

0 comments on commit 80b4507

Please sign in to comment.