You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
All: Use Lerna to manage monorepo
This commit is contained in:
18
packages/fork-sax/test/duplicate-attribute.js
Normal file
18
packages/fork-sax/test/duplicate-attribute.js
Normal file
@ -0,0 +1,18 @@
|
||||
require(__dirname).test({
|
||||
xml: '<span id="hello" id="there"></span>',
|
||||
expect: [
|
||||
[ 'opentagstart', {
|
||||
name: 'SPAN',
|
||||
attributes: {}
|
||||
} ],
|
||||
[ 'attribute', { name: 'ID', value: 'hello' } ],
|
||||
[ 'opentag', {
|
||||
name: 'SPAN',
|
||||
attributes: { ID: 'hello' },
|
||||
isSelfClosing: false
|
||||
} ],
|
||||
[ 'closetag', 'SPAN' ]
|
||||
],
|
||||
strict: false,
|
||||
opt: {}
|
||||
})
|
Reference in New Issue
Block a user