mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-18 09:35:20 +02:00
13 lines
343 B
JavaScript
13 lines
343 B
JavaScript
|
// split high-order numeric attributes into surrogate pairs
|
||
|
require(__dirname).test({
|
||
|
xml: '<a>🔥</a>',
|
||
|
expect: [
|
||
|
[ 'opentagstart', { name: 'A', attributes: {} } ],
|
||
|
[ 'opentag', { name: 'A', attributes: {}, isSelfClosing: false } ],
|
||
|
[ 'text', '\ud83d\udd25' ],
|
||
|
[ 'closetag', 'A' ]
|
||
|
],
|
||
|
strict: false,
|
||
|
opt: {}
|
||
|
})
|