mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-24 08:12:24 +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: {}
|
|
})
|